|
From: Rod J. <rod...@in...> - 2004-02-27 06:22:08
|
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 |