- 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 ( StringHelper.isEmpty(prefix) ) prefix=null; if (prefix!=null) log.info("Cache region prefix: "+ prefix); settings.setCacheRegionPrefix(prefix);
if ( StringHelper.isEmpty(prefix) ) prefix=null; if (prefix!=null) log.info("Cache region prefix: "+ prefix); settings.setCacheRegionPrefix(prefix);
LOG.debugf( "Cache region prefix: %s", prefix ); settings.setCacheRegionPrefix( prefix );
LOG.debugf( "Cache region prefix: %s", prefix ); settings.setCacheRegionPrefix( prefix );