HHH-12540 - Fix test

This commit is contained in:
Andrea Boriero 2018-05-25 00:26:02 +01:00
parent 4f119105f8
commit 83283218dc
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ import javax.persistence.Id;
import org.hibernate.cfg.AvailableSettings;
import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase;
import org.hibernate.testing.jta.TestingJtaBootstrap;
import org.junit.Test;
import static org.hamcrest.core.Is.is;
@ -35,6 +36,7 @@ public class JtaReusingEntityTransactionTest extends BaseEntityManagerFunctional
@Override
protected void addConfigOptions(Map options) {
super.addConfigOptions( options );
TestingJtaBootstrap.prepare( options );
options.put( AvailableSettings.JPA_TRANSACTION_TYPE, "JTA" );
}