Java Mailing List Archive

http://www.gg3721.com/

Home » users.openjpa »

How to set a default date in JPA when one is not supplied.

Kelly Kerr

2010-08-11

Replies: Find Java Web Hosting

Author LoginPost Reply

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..
--
Sent from the OpenJPA Users mailing list archive at Nabble.com.
©2008 gg3721.com - Jax Systems, LLC, U.S.A.