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

@ -21,17 +21,17 @@ import org.junit.Test;
*/
@TestForIssue(jiraKey = "HHH-13663")
public class TestHibernateFlushModeOnThreadLocalInactiveTransaction extends BaseCoreFunctionalTestCase {
@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
}
}