This week's book giveaway is in the Java 9 forum.
We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line!
See this thread for details.
Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Retrieving Table Structure Using Hibernate...  RSS feed

 
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
Boost this thread!