From d29e710c78ff92fab05c63abfce048844b560298 Mon Sep 17 00:00:00 2001 From: Andrea Boriero Date: Thu, 25 Jan 2018 18:19:40 +0000 Subject: [PATCH] HHH-12256 - org.hibernate.test.lazyload.JtaLazyLoadingTest is not using JTA --- .../java/org/hibernate/test/lazyload/JtaLazyLoadingTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/test/java/org/hibernate/test/lazyload/JtaLazyLoadingTest.java b/hibernate-core/src/test/java/org/hibernate/test/lazyload/JtaLazyLoadingTest.java index bd05798143..2d469abc48 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/lazyload/JtaLazyLoadingTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/lazyload/JtaLazyLoadingTest.java @@ -35,7 +35,7 @@ public class JtaLazyLoadingTest cfg.setProperty( Environment.ENABLE_LAZY_LOAD_NO_TRANS, "true" ); TestingJtaBootstrap.prepare( cfg.getProperties() ); -// cfg.setProperty( Environment.TRANSACTION_STRATEGY, JtaTransactionFactory.class.getName() ); + cfg.setProperty( Environment.TRANSACTION_COORDINATOR_STRATEGY, "jta" ); } protected Class[] getAnnotatedClasses() {