openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kelly Kerr <kelly.k...@sympatico.ca>
Subject How to set a default date in JPA when one is not supplied.
Date Wed, 11 Aug 2010 19:01:44 GMT

For an insert/update is there a way to set a default value for a column using
JPA annotation within the Entity bean? I suppose I could set it in the
EntityManager but would prefer another solution. Thanks..
-- 
View this message in context: http://openjpa.208410.n2.nabble.com/How-to-set-a-default-date-in-JPA-when-one-is-not-supplied-tp5413502p5413502.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message