-->
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: "hbm2hbmxml" shortcomings
PostPosted: Sat Sep 08, 2007 6:15 am 
Newbie

Joined: Fri Sep 07, 2007 7:32 am
Posts: 3
1. )Where can I find a list of all the issues/shortcomings in "hbm2hbmxml"
along with suggestions on how best it can be fixed?

For example where it should make one-2-one relationships its making only many-2-one.

2.) What is the best way to parse and manipulate hbm files?

3.) How can one change the logic used by "hbm2hbmxml" by extending it so that it can do the one-2-one relationships ?


Top
 Profile  
 
 Post subject: "hbm2hbmxml" shortcomings
PostPosted: Sat Sep 08, 2007 10:43 am 
Newbie

Joined: Fri Sep 07, 2007 7:32 am
Posts: 3
is it possible to extend "hbm2hbmxml" and use some internal wrapper api over jdbc database metadata to do do the work of "hbm2hbmxml" properly?


Top
 Profile  
 
 Post subject: Re: "hbm2hbmxml" shortcomings
PostPosted: Wed Sep 12, 2007 9:46 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
raster4 wrote:
1. )Where can I find a list of all the issues/shortcomings in "hbm2hbmxml"
along with suggestions on how best it can be fixed?

For example where it should make one-2-one relationships its making only many-2-one.


So why don't you fix it in the templates ? :)

Quote:
2.) What is the best way to parse and manipulate hbm files?


not sure what you mean but hibernate is what we used to parse the hbm.xml files and then we use freemarker as a templating language to generate code from it.

Quote:
3.) How can one change the logic used by "hbm2hbmxml" by extending it so that it can do the one-2-one relationships ?


probably just a matter of fixing the relevant *.hbm.ftl file in hibernate tools.

_________________
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.