HHH-8930 Make the rebuildSessionFactory() method be more aggressive
about closing Conflicts: hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseCoreFunctionalTestCase.java
This commit is contained in:
parent
af428a1273
commit
9fa9c734da
|
@ -401,7 +401,10 @@ public abstract class BaseCoreFunctionalTestCase extends BaseUnitTestCase {
|
|||
return;
|
||||
}
|
||||
sessionFactory.close();
|
||||
sessionFactory = null;
|
||||
configuration = null;
|
||||
serviceRegistry.destroy();
|
||||
serviceRegistry = null;
|
||||
|
||||
serviceRegistry = buildServiceRegistry( configuration );
|
||||
if ( isMetadataUsed ) {
|
||||
|
|
Loading…
Reference in New Issue