Memorynotfound Java Programming Tutorials
Hibernate One to One Unidirectional Shared Primary Key
In this tutorial, we show you how to configure a Hibernate One-to-One Unidirectional Association with shared primary key using either annotations or xml mapping files. A one-to-one mapping means that one object can have...
Hibernate One to One Unidirectional Foreign Key
In this tutorial, we show you how to configure a Hibernate One-to-One Unidirectional Association with Foreign keys using either annotations or xml mapping files. A one-to-one mapping means that one object can have only...
Monitor Tomcat with JMX and jConsole
This tutorial shows how to monitor Tomcat with JMX via jConsole. Monitoring is a key aspect for developers or system administrators. Looking inside a running server, obtaining some statistics like: Heap / Non-heap memory...
Configure Tomcat To Use SSL/TLS Over HTTPS
In this tutorial we show how to configure Tomcat to use SSL/TLS over HTTPS. Secure Socket Layer (SSL), which now refers to the Transport Layer ouSecurity (TLS), is a protocol that encrypts the communication...
Hibernate Dbcp Connection Pooling Configuration
This tutorial shows you how to configure Hibernate dbcp Connection Pooling. By default hibernate comes with a built-in connection pool. But this connection pool is by no means production ready. They even advice not...
Configure Hibernate Logging with slf4j + log4j2
This tutorial shows how to configure hibernate with slf4j and log4j2. Logging is an important tool for each developer. So it’s worth setting up right the first time. We configure two logging appenders. The...
Configure Hibernate Logging with SLF4j + Logback
This tutorial shows how to configure hibernate with SLF4j and Logback. Logging is an important tool for each developer. So it’s worth setting up right the first time. We configure Logback with a ConsoleAppender...
Hibernate c3p0 Connection Pooling Configuration
This tutorial shows you how to configure Hibernate c3p0 Connection Pooling. By default hibernate comes with a built-in connection pool. But this connection pool is by no means production ready. They even advice not...
MySQL / MariaDb + Hibernate Annotation Configuration Example
Ap>This tutorial shows you how to configure MySQL/MariaDB with Hibernate using Annotation Configuration. We demonstrate this by inserting a POJO into the database. This POJO is enhanced with standard Java persistence annotations, which makes...