The constructor of the Entity would be the best place to define these defaults.
--Gordon
-----Original Message-----
From: sud [mailto:sudhakar_at_co.brazos.tx.us]
Sent: Wednesday, October 24, 2007 10:45 AM
To: persistence_at_glassfish.dev.java.net
Subject: specifying default values via JPA
Is there a way to specify default values for fields in JPA? If not is
there is a custom way to do this in toplink-essentials?
Will this be available in the JPA 2.0 if it isn't already?
-sud