commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neeme Praks <ne...@apache.org>
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?

Rgds,
Neeme


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message