mirror of https://github.com/apache/openjpa.git
OPENJPA-322.Copying over the TimeZone to the proxy. 446787 seems to have accidentally removed this.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567170 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f9fcb11a35
commit
784de8a57c
|
@ -92,7 +92,10 @@ class SingleFieldManager
|
|||
proxy = checkProxy();
|
||||
if (proxy == null) {
|
||||
proxy = (Proxy) _sm.newFieldProxy(field);
|
||||
((Calendar) proxy).setTime(((Calendar) objval).getTime());
|
||||
Calendar pcal = (Calendar) proxy;
|
||||
Calendar ocal = (Calendar) objval;
|
||||
pcal.setTime (ocal.getTime ());
|
||||
pcal.setTimeZone (ocal.getTimeZone ());
|
||||
ret = true;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue