-->
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: Order of mappings?
PostPosted: Wed May 04, 2005 4:47 am 
Beginner
Beginner

Joined: Thu May 13, 2004 5:51 am
Posts: 28
I intend to parse the hbms to represent them in another intermediate format for an internal use. Though I have made use of most of the excellent Hibernate Code generation code, I was unable to find how to get a list of mappings in order of decreasing reference. More precisely, I intend to get a ordered list of mappings such that a foreign class definition always come ahead in the list. Any direction would be greatly appreciated.

Thanks,
--
Meg


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 04, 2005 12:53 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
This is not possible, classes may have cross references.

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 05, 2005 5:31 am 
Beginner
Beginner

Joined: Thu May 13, 2004 5:51 am
Posts: 28
emmanuel wrote:
This is not possible, classes may have cross references.


eeks.. u are right. And then I went through the schema generation code and realized constraints are created after the table schema is generated. That was a good hint. Thanks for ur prompt reply.

--
Meg


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.