Package org.openbravo.dal.core
Class DalSessionFactoryController
- java.lang.Object
-
- org.openbravo.base.session.SessionFactoryController
-
- org.openbravo.dal.core.DalSessionFactoryController
-
public class DalSessionFactoryController extends SessionFactoryController
Initializes and provides the session factory for the runtime dal layer. This SessionFactoryController is initialized after the model has been read in-memory. TheDalMappingGenerator
is used to generated the Hibernate mapping for the runtime model (seeModelProvider
.- Author:
- mtaal
-
-
Constructor Summary
Constructors Constructor Description DalSessionFactoryController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,org.hibernate.dialect.function.SQLFunction>
getSQLFunctions()
protected void
mapModel(org.hibernate.cfg.Configuration configuration)
protected void
setInterceptor(org.hibernate.cfg.Configuration configuration)
-
Methods inherited from class org.openbravo.base.session.SessionFactoryController
buildConfiguration, closeHibernatePool, getColumnMetadataQuery, getConfiguration, getInstance, getOpenbravoProperties, getSessionFactory, getUniqueConstraintQuery, initialize, isInitialized, isJNDIModeOn, isRunningInWebContainer, reInitialize, setInstance, setRunningInWebContainer
-
-
-
-
Method Detail
-
mapModel
protected void mapModel(org.hibernate.cfg.Configuration configuration)
- Specified by:
mapModel
in classSessionFactoryController
-
setInterceptor
protected void setInterceptor(org.hibernate.cfg.Configuration configuration)
- Overrides:
setInterceptor
in classSessionFactoryController
-
getSQLFunctions
protected Map<String,org.hibernate.dialect.function.SQLFunction> getSQLFunctions()
- Overrides:
getSQLFunctions
in classSessionFactoryController
-
-