Example & Tutorial understanding programming in easy ways.

Programmatic configuration in Hibernate

An instance of org.hibernate.cfg.Configuration represents an entire set of mappings

Read More →

Obtaining a SessionFactory in Hibernate

Hibernate does allow your application to instantiate more than one org.hibernate.SessionFactory.

Read More →

JDBC connections in Hibernate

It is advisable to have the org.hibernate.SessionFactory create and pool JDBC connections

Read More →

Optional configuration properties in Hibernate

There are a number of other properties that control the behavior of Hibernate at runtime.

Read More →

Outer Join Fetching in Hibernate

Outer join fetching can be disabled globally by setting the property hibernate.max_fetch_depth to 0.

Read More →

Use of Binary System and Second Level and Query Cache in Hibernate

In the Hibernate we can use of the Use of Binary System and Second Level and Query Cache.

Read More →

Logging in Hibernate

We can do the Logging in Hibernate.

Read More →

Implementing a NamingStrategy in Hibernate

org.hibernate.cfg.ImprovedNamingStrategy is a built-in strategy that might be a useful starting point for some applications.

Read More →

XML configuration file in Hibernate

The XML configuration file is by default expected to be in the root of your CLASSPATH.

Read More →

J2EE Application Server integration in Hibernate

Hibernate has the following integration points for J2EE infrastructure:

Read More →

Transaction strategy configuration in Hibernate

The Hibernate Session API is independent of any transaction demarcation system in the architecture.

Read More →

JNDI-bound SessionFactory in Hibernate

Hibernate will automatically place the SessionFactory in JNDI after you call cfg.buildSessionFactory().

Read More →

Current Session context management with JTA and JMX deployment in Hibernate

The easiest way to handle Sessions and transactions is Hibernate\'s automatic \"current\" Session management.

Read More →
,Programmatic configuration in Hibernate,Obtaining a SessionFactory in Hibernate,JDBC connections in Hibernate,Optional configuration properties in Hibernate,Outer Join Fetching in Hibernate,Use of Binary System and Second Level and Query Cache in Hibernate,Logging in Hibernate,Implementing a NamingStrategy in Hibernate,XML configuration file in Hibernate,J2EE Application Server integration in Hibernate,Transaction strategy configuration in Hibernate,JNDI-bound SessionFactory in Hibernate,Current Session context management with JTA and JMX deployment in Hibernate