• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting column names from the table name

 
Vijay Tidake
Ranch Hand
Posts: 148
Hibernate Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to use the expandable table in UI.

For that when user select table name I want to know the column names to show up them in the UI table.

Currently I am using the Hibernate.So I wanted to know that how to get column metadata from the table name.

Thanks
 
Mahesh Panchananam
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The simple way I can suggest is define properties in the POJO properly and convert the text to upper case for the UI purpose.
I am not sure whether there is any way to get the names of columns, even if there is a way, dont apply that unnecessarily.

Rgds
Mahesh PS
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic