-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: hbm2java fields type config
PostPosted: Fri Mar 11, 2005 12:20 pm 
Beginner
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
>


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.