-->
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: How to browse the object model
PostPosted: Tue Aug 12, 2008 4:56 am 
Newbie

Joined: Tue Aug 07, 2007 7:11 am
Posts: 6
Hi all,

I cannot find how in Hibernate it is possible to navigate the object model which results from ORM definitions. For instance, I need to know all the associations which have a given class as target.
Other examples are: get all the entities, all the entities which are sub-class of a given class, all the associations having a given entity as source, etc.

Does documentation or/and code samples for doing that exist?

Thanks in advance for any help.

Marco


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 12, 2008 6:03 am 
Expert
Expert

Joined: Thu Jul 05, 2007 9:38 am
Posts: 287
Have a look at Metadata and the Configuration Object:

http://www.hibernate.org/hib_docs/core/ ... e-metadata

http://www.hibernate.org/hib_docs/v3/api/index.html

_________________
Please rate useful posts.


Schauderhaft: Softwaredevelopment, Projectmanagement, Qualitymanagement and all things "schauderhaft"


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 12, 2008 8:32 am 
Newbie

Joined: Tue Aug 07, 2007 7:11 am
Posts: 6
schauder wrote:


Thank you very much! It is exactly what I was looking for.


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.