Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate equivalent of MetaData

 
Maya sekar
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

So I know there is an option in sql where you can fetch column names of a table using metadata,


In hibernate... say i don't know the name of the column i'll be inserting values in.. how do i retrieve the available columns names from a table in hibernate? Is that even possible and if so how?

I understand that i need to map a table to bean to be able to access it... But still is it possible?

Any point in the right direction is much appreciated... thank you in advance

have a nice day
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic