public class HibernateConfigurationHelper extends Object
org.springframework.orm.hibernate3.LocalSessionFactoryBean
Original author: Juergen Hoeller (Spring 1.2)Modifier and Type | Field and Description |
---|---|
static String |
ENTITY_INTERCEPTOR |
static String |
NAMING_STRATEGY |
static String |
PROPS |
Constructor and Description |
---|
HibernateConfigurationHelper(GriffonApplication application,
Map<String,Object> sessionConfig,
String dataSourceName,
DataSource dataSource) |
Modifier and Type | Method and Description |
---|---|
org.hibernate.cfg.Configuration |
buildConfiguration() |
static DataSource |
getDataSource() |
String |
getDataSourceName() |
Map<String,Object> |
getSessionConfig() |
public static final String ENTITY_INTERCEPTOR
public static final String NAMING_STRATEGY
public static final String PROPS
public HibernateConfigurationHelper(GriffonApplication application, Map<String,Object> sessionConfig, String dataSourceName, DataSource dataSource)
public static DataSource getDataSource()
public String getDataSourceName()
public org.hibernate.cfg.Configuration buildConfiguration()