seeing this when running test on master
"22:34:30,288 WARN SessionFactoryImpl:1554 - HHH000008: JTASessionContext being used
with JDBCTransactionFactory; auto-flush will not operate correctly with
getCurrentSession()
"
in the method of org.hibernate.internal.SessionFactoryImpl#buildCurrentSessionContext,
even there is no Environment.CURRENT_SESSION_CONTEXT_CLASS property set, it use the
following logic to guess
if ( canAccessTransactionManager() ) {
impl = "jta";
}
and
org.hibernate.engine.transaction.jta.platform.internal.StandardJtaPlatformResolver#resolveJtaPlatform,
if there is any JTA Impl on the classpath, the method usually returns true
canAccessTransactionManager()
-------------------------
Best Regards,
Strong Liu <stliu at hibernate.org>
http://about.me/stliu/bio