Joined: Tue Jan 11, 2005 11:53 pm Posts: 1 Location: Singapore
|
DataBse: Firebird.
I am using MiddleGen to generate HBM files, In a hbm mapping file there is a field 'createtime' of type timestamp .
the hbm file for this field looks like
<property name="createtime" type="java.sql.Timestamp"
column="CREATETIME" not-null="true" length="19" />
when hbm2java utility used to generate java files, the type of this property becomes java.util.Date.
Is there anyway to configure hbm2java to change java.util.Date to java.sql.Timestamp.
Thanks in Advance.
Abdullah.S
|
|