DDL is not generated when using old metamodel
This commit is contained in:
parent
c0fa63579b
commit
c397221483
|
@ -200,6 +200,9 @@ public abstract class BaseCoreFunctionalTestCase extends BaseFunctionalTestCase
|
|||
properties.put( Environment.CACHE_REGION_FACTORY, CachingRegionFactory.class.getName() );
|
||||
properties.put( AvailableSettings.USE_NEW_ID_GENERATOR_MAPPINGS, "true" );
|
||||
properties.put( Environment.DIALECT, getDialect().getClass().getName() );
|
||||
if(createSchema()){
|
||||
properties.put( AvailableSettings.HBM2DDL_AUTO, "create-drop" );
|
||||
}
|
||||
return properties;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue