[HHH-10290] ignore environment property hibernate.jdbc.batch_versioned_data in BatchVersionedDataConfigTest
This commit is contained in:
parent
1266f35ecb
commit
9a32b963b6
|
@ -54,6 +54,12 @@ public class BatchVersionedDataConfigTest extends BaseUnitTestCase {
|
|||
@Before
|
||||
public void setUp() {
|
||||
cfg = new Configuration();
|
||||
|
||||
// HHH-10290 ignore environment property hibernate.jdbc.batch_versioned_data
|
||||
if (cfg.getProperties().getProperty(AvailableSettings.BATCH_VERSIONED_DATA) != null) {
|
||||
cfg.getProperties().remove(AvailableSettings.BATCH_VERSIONED_DATA);
|
||||
cfg.getStandardServiceRegistryBuilder().getSettings().remove(AvailableSettings.BATCH_VERSIONED_DATA);
|
||||
}
|
||||
}
|
||||
|
||||
@After
|
||||
|
|
Loading…
Reference in New Issue