HHH-13663 adjust formatting style
This commit is contained in:
parent
26edb2863f
commit
1d64a386cd
|
@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue