-->
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: Obtaining the class mappings assigned to each table
PostPosted: Thu Jun 02, 2005 5:35 pm 
Newbie

Joined: Thu May 05, 2005 12:58 pm
Posts: 3
Hi guys,

I'm using hibernate 3.0.

I need to know which class does the mapping for a certain table.

I can use Configuration.getTableMappings() to obtain all the tables that are being mapped, but this doesn't show me the class that does the mapping for that table.

For example, if the table Users is being mapped by class xyx.hibernate.User, is there a way to obtain the name of the class associated to the table??


Thanks.


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.