fixed "configTimeRegionFactoryHolder" reset
This commit is contained in:
parent
56d0e67581
commit
4a63a5b3ba
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2010 the original author or authors.
|
* Copyright 2002-2012 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
@ -787,7 +787,7 @@ public class LocalSessionFactoryBean extends AbstractSessionFactoryBean implemen
|
||||||
configTimeTransactionManagerHolder.remove();
|
configTimeTransactionManagerHolder.remove();
|
||||||
}
|
}
|
||||||
if (this.cacheRegionFactory != null) {
|
if (this.cacheRegionFactory != null) {
|
||||||
configTimeCacheProviderHolder.remove();
|
configTimeRegionFactoryHolder.remove();
|
||||||
}
|
}
|
||||||
if (this.cacheProvider != null) {
|
if (this.cacheProvider != null) {
|
||||||
configTimeCacheProviderHolder.remove();
|
configTimeCacheProviderHolder.remove();
|
||||||
|
@ -862,7 +862,7 @@ public class LocalSessionFactoryBean extends AbstractSessionFactoryBean implemen
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the Configuration object used to build the SessionFactory.
|
* Return the Configuration object used to build the SessionFactory.
|
||||||
* Allows access to configuration metadata stored there (rarely needed).
|
* Allows for access to configuration metadata stored there (rarely needed).
|
||||||
* @throws IllegalStateException if the Configuration object has not been initialized yet
|
* @throws IllegalStateException if the Configuration object has not been initialized yet
|
||||||
*/
|
*/
|
||||||
public final Configuration getConfiguration() {
|
public final Configuration getConfiguration() {
|
||||||
|
|
Loading…
Reference in New Issue