Fix calendar proxy bug.

git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@484900 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
A. Abram White 2006-12-09 03:08:52 +00:00
parent 7b91f91273
commit d85fbdee04
1 changed files with 2 additions and 1 deletions

View File

@ -214,6 +214,7 @@ public class ProxyManagerImpl
type = GregorianCalendar.class;
ProxyCalendar proxy = getFactoryProxyCalendar(type);
ProxyCalendar cal = proxy.newInstance();
if (zone != null)
((Calendar) cal).setTimeZone(zone);
return cal;
}