• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Retrieving Table Structure Using Hibernate...

 
Sanket L Shah
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am developing one application using hibernate....
I want to get the table structure of my database table (Using Hibernate).

In hibernate we catch the query result in the java object...
I dont know how to get the table structure...!!!???

Please help..
Thank you all
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using Hibernate why do you want meta data about the database itself? One of the reasons Hibernate exists is to remove the need for a developer to know anything about this.

Core Hibernate cannot do what you ask, but Hibernate tools code does. You might look in there.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic