Beginner |
|
Joined: Wed Feb 23, 2005 9:24 am Posts: 28
|
Hi all,
When I run the hbm2java task, it' automatically changing the Timestamp properties into java.util.Date in the generated java files.
Can someone tells me how to prevent it doing so.
here is the extract of my ant task
<target name="hbm2java" description="Generate .java from .hbm files."> <taskdef name="hbm2java" classname="net.sf.hibernate.tool.hbm2java.Hbm2JavaTask" classpathref="lib.class.path"/> <hbm2java output="${build.hbm2java.src.dir}"> <fileset dir="${build.middlegen.src.dir}"> <include name="**/*.hbm.xml"/> </fileset> </hbm2java> </target>
|
|