commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neeme Praks <>
Subject [sql] current timestamp
Date Wed, 27 Nov 2002 12:36:55 GMT

I need a feature from the DDL generator.
I'm using Postgres database and I need to have a following field definition:
	timestamp timestamp default CURRENT_TIMESTAMP

Currently I'm using a patched version of Torque that achieves this from 
the following definition:
<column name="timestamp" type="TIMESTAMP" default="f:CURRENT_TIMESTAMP"/>

However, I think there should be a more portable way for achieveing 
this, no?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message