HHH-13663 adjust formatting style

This commit is contained in:
Sanne Grinovero 2019-10-11 10:44:39 +01:00
parent 26edb2863f
commit 1d64a386cd
1 changed files with 3 additions and 3 deletions

View File

@ -24,14 +24,14 @@ public class TestHibernateFlushModeOnThreadLocalInactiveTransaction extends Base
@Override
protected void configure(Configuration configuration) {
configuration.setProperty(AvailableSettings.CURRENT_SESSION_CONTEXT_CLASS, "thread");
configuration.setProperty( AvailableSettings.CURRENT_SESSION_CONTEXT_CLASS, "thread" );
}
@Test
public void testHibernateFlushModeOnInactiveTransaction() {
Session s = openSession();
//s.setFlushMode(FlushMode.AUTO); // this does not throw (API is deprecated)
s.setHibernateFlushMode(FlushMode.AUTO); // this should not throw even within an inactive transaction
s.setHibernateFlushMode( FlushMode.AUTO ); // this should not throw even within an inactive transaction
}
}