openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <ppod...@apache.org>
Subject Re: Timestamp always returns null
Date Thu, 30 Oct 2008 20:56:40 GMT



Scott Mitchell-2 wrote:
> 
> NEVERMIND!  It does work now!
> 
> Thank you SO MUCH.  This was too simple for me to be stuck on for so long!
> 
> 

While annotations use property access mode (as opposed to field access) --
OpenJPA will invoke the setter to set the value of a field on a Java
instance. So even if the corresponding column of MySQL database had a value,
the value was not getting set on the in-memory instance because the setter
method was a no-op.

-- 
View this message in context: http://n2.nabble.com/Timestamp-always-returns-null-tp1400326p1400454.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.


Mime
View raw message