You could either modify the cartridge and jar it back up, or override the
template to include your timestamp columns:
http://www.andromda.org/andromda-cartridges/index.html#mergeLocation


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dan McGowan
Sent: Tuesday, January 04, 2005 2:38 PM
To: [email protected]
Subject: [Andromda-user] hibernate timestamp mapping

Hi,
    I was wondering if there is any way to get the generated hibernate 
mapping files to accommodate a mapping to a Date property that is used 
as a timestamp? This is for audit columns such as a modify date. Here 
is what I have used in hibernate in the past (in the mapping file) to 
accomplish this:

<timestamp column="MODIFY_DATE" name="modifyDate" />

Thanks,
Dan



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to