From 4a63a5b3bafcd7387846b8715ff6e60a425377c5 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Sun, 15 Jan 2012 15:39:24 +0100 Subject: [PATCH] fixed "configTimeRegionFactoryHolder" reset --- .../orm/hibernate3/LocalSessionFactoryBean.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/org.springframework.orm/src/main/java/org/springframework/orm/hibernate3/LocalSessionFactoryBean.java b/org.springframework.orm/src/main/java/org/springframework/orm/hibernate3/LocalSessionFactoryBean.java index 0cb0d7335f..887ceaed81 100644 --- a/org.springframework.orm/src/main/java/org/springframework/orm/hibernate3/LocalSessionFactoryBean.java +++ b/org.springframework.orm/src/main/java/org/springframework/orm/hibernate3/LocalSessionFactoryBean.java @@ -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"); * you may not use this file except in compliance with the License. @@ -787,7 +787,7 @@ public class LocalSessionFactoryBean extends AbstractSessionFactoryBean implemen configTimeTransactionManagerHolder.remove(); } if (this.cacheRegionFactory != null) { - configTimeCacheProviderHolder.remove(); + configTimeRegionFactoryHolder.remove(); } if (this.cacheProvider != null) { configTimeCacheProviderHolder.remove(); @@ -862,7 +862,7 @@ public class LocalSessionFactoryBean extends AbstractSessionFactoryBean implemen /** * 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 */ public final Configuration getConfiguration() {