public class HB4Provider extends java.lang.Object implements HBProviderInterface
SessionFactory
is created in initialization block and used to create Session
objects.Modifier and Type | Field and Description |
---|---|
static java.lang.String | CONFIG Name of sub property for hibernate configuration file. |
protected org.hibernate.cfg.Configuration | configuration Holds Configuration . |
protected org.hibernate.SessionFactory | factory Holds SessionFactory . |
commitTransaction, get, getSession, getTransaction, returnSession, rollbackTransaction
public static final java.lang.String CONFIG
protected org.hibernate.cfg.Configuration configuration
Configuration
.protected org.hibernate.SessionFactory factory
SessionFactory
.