public class SpringHB4Provider extends java.lang.Object implements HBProviderInterface
SessionFactory
is looked up in initialization block and used to create Session
objects.Modifier and Type | Field and Description |
---|---|
static java.lang.String | CONFIG_BEAN Name of sub property for Spring bean name for hibernate configuration. |
protected java.lang.String | configBean Holds Spring bean name. |
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_BEAN
protected java.lang.String configBean
protected org.hibernate.cfg.Configuration configuration
Configuration
.protected org.hibernate.SessionFactory factory
SessionFactory
.