*/
public abstract class DalesbredConfigurationSupport {
@Bean
public Database dalesbredDatabase(DataSource dataSource, PlatformTransactionManager transactionManager) {
Dialect dialect = dialect();
if (dialect == null)
dialect = Dialect.detect(dataSource);
Database db = new Database(new SpringTransactionManager(dataSource, transactionManager), dialect);
registerInstantiators(db.getInstantiatorRegistry());