openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <>
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:
Sent from the OpenJPA Users mailing list archive at

View raw message