persistence@glassfish.java.net

Default column to current timestamp

From: Greg Ederer <greg_at_ergonosis.com>
Date: Fri, 10 Nov 2006 13:33:16 -0800
Hi,

What is the best way to cause a Temporal.TIMESTAMP column to get a current timestamp value if no value is supplied?  I suspect that I could use columnDefinition to get this behavior.  Is this the best way to achieve this?

Thanks.

Greg
--
| E R G O N O S I S
| Greg Ederer
| Lead Developer
| greg@ergonosis.com
| 360.379.1157
| 
| OpenDocument - OK
|