@Test public void testResetFlushMode() { Session session = factory.openSession(); HibernateUtils.resetFlushMode(session, FlushMode.ALWAYS); assertEquals(FlushMode.ALWAYS, session.getHibernateFlushMode()); }
public static void resetFlushMode(@NonNull Session session, FlushMode flushMode) { session.setHibernateFlushMode(flushMode); }
HibernateUtils { public static void resetFlushMode(@NonNull Session session, FlushMode flushMode) { session.setHibernateFlushMode(flushMode); } }
HibernateUtils { public static void resetFlushMode(@NonNull Session session, FlushMode flushMode) { session.setHibernateFlushMode(flushMode); } private  HibernateUtils(); }
HibernateUtils { public static void resetFlushMode(@NonNull Session session, FlushMode flushMode) { session.setHibernateFlushMode(flushMode); } private  HibernateUtils(); static StandardServiceRegistry createServiceRegistry(@NonNull Map<String, String> settings,
      @NonNull PoolConfiguration configuration); static SessionFactory getSessionFactory(@NonNull MetadataSources sources); static FlushMode setFlushMode(@NonNull Session session,
      @NonNull TransactionDefinition transactionDefinition); static void resetFlushMode(@NonNull Session session, FlushMode flushMode); }
HibernateUtils { public static void resetFlushMode(@NonNull Session session, FlushMode flushMode) { session.setHibernateFlushMode(flushMode); } private  HibernateUtils(); static StandardServiceRegistry createServiceRegistry(@NonNull Map<String, String> settings,
      @NonNull PoolConfiguration configuration); static SessionFactory getSessionFactory(@NonNull MetadataSources sources); static FlushMode setFlushMode(@NonNull Session session,
      @NonNull TransactionDefinition transactionDefinition); static void resetFlushMode(@NonNull Session session, FlushMode flushMode);  }