[HHH-10290] ignore environment property hibernate.jdbc.batch_versioned_data in BatchVersionedDataConfigTest
This commit is contained in:
parent
18dd88c957
commit
3152bb0ffb
|
@ -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