mirror of https://github.com/apache/openjpa.git
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:
parent
7b91f91273
commit
d85fbdee04
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue