-->
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: polymorphic metadata
PostPosted: Tue Jan 22, 2008 12:35 pm 
Newbie

Joined: Tue Sep 28, 2004 7:14 pm
Posts: 7
My content management system has content of a certain type siloed into tables by application. I'd like to build a query UI to allow the user to pull either all the content of a type or type content from a specific table. I'll probably use the hibernate polymorphic support to pull all the content of a type.

Is there a way to interrogate the hibernate metadata to determine the concrete classes that hibernate has mapped to a "polymorphic" interface? I could call getAllClassMetaData to retrieve all the mapped classes and then use the Java reflection API to walk the interface graph for all those classes, but I was hoping there was a more elegant way since Hibernate has obviously already done this work.


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.