Skip to content

HibernateUtil

HibernateUtil is used to access the system-wide SessionFactory (Hibernate).

PropertiesUtil

HibernateUtil gets at the only instance of PropertiesUtil in a static initializer.

Static Initializer

A static initializer declared in a class is executed when the class is initialized.

Learn more in the Java Language Specification.

SessionFactory

HibernateUtil creates a SessionFactory in a static initializer.

Static Initializer

A static initializer declared in a class is executed when the class is initialized.

Learn more in the Java Language Specification.

This SessionFactory is used by the following:

createSessionFactory

SessionFactory createSessionFactory()
Static Method

createSessionFactory is a Java class method that is always invoked without reference to a particular object.

Learn more in the Java Language Specification.

createSessionFactory...FIXME