A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Object Relational Mapping
Getting column names from the table name
Joined: Nov 04, 2008
Jul 01, 2011 03:40:36
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.
The important thing is not to stop questioning.Curiosity has its own reason for existing.
Joined: Jun 30, 2011
Jul 05, 2011 05:58:15
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.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Getting column names from the table name
parse siblings in DOM
need to get column names in resultant table of sql query
problem simply stated
getting column name
how can i get column name of a table
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014