public interface HibernateConfigurationFactory
HibernateConfigurationFactoryImpl
is used),
instance of this custom implementation needs to be registered in the engine. The following code need to be placed into
registerCustomComponents method of your component service bean.
protected void registerCustomComponents() {
register(new CustomHibernateConfigurationFactory(), HibernateConfigurationFactory.class);
}
Modifier and Type | Method and Description |
---|---|
ConfigurationExt |
createConfiguration(String datasourceJndiName,
DataSource defaultDataSource,
Properties additionalProperties) |
ConfigurationExt createConfiguration(String datasourceJndiName, DataSource defaultDataSource, Properties additionalProperties)
datasourceJndiName
- defaultDataSource
- additionalProperties
- Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.