public interface TopiaConfiguration extends JdbcConfiguration
TopiaApplicationContext.
Please use an instance of TopiaConfigurationBuilder to build a new
TopiaConfiguration.| Modifier and Type | Method and Description |
|---|---|
Map<String,Class<? extends TopiaService>> |
getDeclaredServices() |
Map<String,Map<String,String>> |
getDeclaredServicesConfiguration() |
Map<String,String> |
getHibernateExtraConfiguration()
Topia will automatically generate an Hibernate configuration for you based
on the different element of this TopiaConfiguration.
|
String |
getSchemaName() |
TopiaIdFactory |
getTopiaIdFactory()
Configuration directive to change topia Ids generation strategy.
|
boolean |
isInitSchema()
You can set it to false if you don't want Topia to deal with the schema (you keep it
up to date with your own sql file).
|
boolean |
isValidateSchema()
If true, ToPIA will validate schema against model upon starting.
|
getJdbcConnectionPassword, getJdbcConnectionUrl, getJdbcConnectionUser, getJdbcDriverClassboolean isInitSchema()
boolean isValidateSchema()
SchemaValidationTopiaException if the schema is not suitable for ToPIA to run
fine.TopiaIdFactory getTopiaIdFactory()
String getSchemaName()
Map<String,String> getHibernateExtraConfiguration()
HibernateAvailableSettings
as keys of the map.
You MUST NOT pass AvailableSettings.HBM2DDL_AUTO since
ToPIA will use validate. If you want use it, have a look at HibernateTopiaMigrationServiceMap<String,Class<? extends TopiaService>> getDeclaredServices()
Copyright © 2004–2017 CodeLutin. All rights reserved.