public class HB6Provider 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 Configuration | configuration Holds Configuration . |
protected SessionFactory | factory Holds SessionFactory . |
protected Metadata | metadata Holds Metadata . |
protected MetadataSources | metadataSources Holds MetadataSources . |
protected ServiceRegistry | serviceRegistry Holds ServiceRegistry . |
commitTransaction, get, getSession, getTransaction, returnSession, rollbackTransaction
public static final java.lang.String CONFIG
protected Configuration configuration
Configuration
.protected SessionFactory factory
SessionFactory
.protected ServiceRegistry serviceRegistry
ServiceRegistry
.protected MetadataSources metadataSources
MetadataSources
.protected Metadata metadata
Metadata
.