-->
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.  [ 2 posts ] 
Author Message
 Post subject: SessionFactory MetaData
PostPosted: Thu Feb 05, 2004 3:32 pm 
Newbie

Joined: Tue Nov 25, 2003 12:26 pm
Posts: 12
Given a class name and a property name, is there any way to request the table name and column name from the SessionFactory?

In our environment we have properties files for labels that are indexed by table name and column name. This allows us to share the same label for the same data accross multiple user interfaces.

I don't want the developers to know the table and column names for the data they are putting on a user interface. All they know is that it is a property from a persistent class.

I would like to lookup the table name and column name from the SessionFactory.

Thanks for you help.

_________________
Arthur Fitt


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 05, 2004 3:38 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
It is available via COnfiguration object


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.