openjpa-users mailing list archives

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

View raw message