- Common ways to obtain Settings
private void myMethod () {Settings s =
new Settings()
SessionFactoryImplementor sessionFactoryImplementor;sessionFactoryImplementor.getSettings()
UnionSubclassEntityPersister unionSubclassEntityPersister;unionSubclassEntityPersister.getFactory().getSettings()
- Smart code suggestions by Codota
}
if ( "validate".equals(autoSchemaExport) ) settings.setAutoValidateSchema(true); if ( "update".equals(autoSchemaExport) ) settings.setAutoUpdateSchema(true); if ( "create".equals(autoSchemaExport) ) settings.setAutoCreateSchema(true);