HHH-12256 - org.hibernate.test.lazyload.JtaLazyLoadingTest is not using JTA
This commit is contained in:
parent
4f12de7e18
commit
d29e710c78
|
@ -35,7 +35,7 @@ public class JtaLazyLoadingTest
|
||||||
cfg.setProperty( Environment.ENABLE_LAZY_LOAD_NO_TRANS, "true" );
|
cfg.setProperty( Environment.ENABLE_LAZY_LOAD_NO_TRANS, "true" );
|
||||||
|
|
||||||
TestingJtaBootstrap.prepare( cfg.getProperties() );
|
TestingJtaBootstrap.prepare( cfg.getProperties() );
|
||||||
// cfg.setProperty( Environment.TRANSACTION_STRATEGY, JtaTransactionFactory.class.getName() );
|
cfg.setProperty( Environment.TRANSACTION_COORDINATOR_STRATEGY, "jta" );
|
||||||
}
|
}
|
||||||
|
|
||||||
protected Class<?>[] getAnnotatedClasses() {
|
protected Class<?>[] getAnnotatedClasses() {
|
||||||
|
|
Loading…
Reference in New Issue