Read the rules before posting!
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hi,
How do I get column(field) names for a particular table in Hibernate. I want to display the content of a table inside JTable using (Vector columnNames, vector data). I don't want to hard-code the column names but instead dynamiclly read them from the database.
Any suggestions is greatly appreciated.
Thanks.
Hibernate version:
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt: