|
From: Rajeev K. <Ra...@cu...> - 2004-02-27 19:08:15
|
I am sorry, I meant the class mapping information, instead of the class =
meta data. I am interested in getting at the table name, the column =
names, types, and lengths.
----- Original Message -----=20
From: Rod Johnson=20
To: spr...@li...=20
Sent: Thursday, February 26, 2004 10:11 PM
Subject: Re: [Springframework-developer] Hibernate meta data
Can't you get it from the SessionFactory? That's how I do it.=20
----- Original Message -----=20
From: Rajeev Kaul=20
To: spr...@li...=20
Sent: Friday, February 27, 2004 1:34 AM
Subject: [Springframework-developer] Hibernate meta data
What is the best way to get hold of Hibernate meta data in Spring? =
I am interested in dynamically finding the tablename , column names, =
types, length, etc. of a persistent class.
I know you can get it from the Hibernate Configuration object, but =
it is not saved in the current implementation of LocalSessionFactoryBean =
class. Is there some other way of getting this information, or should I =
subclass the LocalSessionFactoryBean and make Configuration class object =
as one of its properties?=20
Rajeev Kaul |