-->
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.  [ 3 posts ] 
Author Message
 Post subject: Using a config file with alpha4 hbm2java task?
PostPosted: Thu Jun 16, 2005 10:35 am 
Newbie

Joined: Wed Mar 30, 2005 6:50 pm
Posts: 8
In the 2.1 tools you were able to specify a config file as an attribute of the hbm2java task:

<hbm2java output="${gen.dir}" config="hbm2config.xml">
<fileset dir="${persist.dir}">
<include name="**/*.hbm.xml"/>
</fileset>
</hbm2java>

In this config file I was able to specify things like implements meta tags, etc.:

<codegen>
<meta attribute="implements">com.plumtree.hiper.hibernate.persist.IPTObjectModification</meta>
<meta attribute="implement-equals">true</meta>
<generate renderer="net.sf.hibernate.tool.hbm2java.BasicRenderer"/>
</codegen>

This no longer seems to work. I looked at the documentation http://www.hibernate.org/hib_docs/tools ... .html#gen4 and it does not seem to support this attribute and neither does the config xml schema.

Does anyone know how to do this with the new tools?
Thanks

Dan[/b]


Top
 Profile  
 
 Post subject: hbm2java -> config.file
PostPosted: Mon Jul 04, 2005 3:19 am 
Newbie

Joined: Fri Jan 16, 2004 3:13 am
Posts: 4
I use also the configuration in hibernate 2.1 tools.

Is it possible to do it also in hibernate 3.0 tools??????


TIA
Martin


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 04, 2005 4:09 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
its a known issue in jira

_________________
Max
Don't forget to rate


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

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.