This commit is contained in:
Alex Snaps 2018-03-28 09:24:55 -04:00 committed by Steve Ebersole
parent 97dd42cfa6
commit a35139ec3e
1 changed files with 2 additions and 1 deletions

View File

@ -73,7 +73,8 @@ public final class HibernateEhcacheUtils {
String sessionFactoryName = settings.getSessionFactoryName(); String sessionFactoryName = settings.getSessionFactoryName();
if (sessionFactoryName != null) { if (sessionFactoryName != null) {
configuration.setName( sessionFactoryName ); configuration.setName( sessionFactoryName );
} else { }
else {
configuration.setName( "Hibernate " + UUID.randomUUID().toString() ); configuration.setName( "Hibernate " + UUID.randomUUID().toString() );
} }
} }