This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I have a problem am still learning Spring MVC and JPA. I can't figure out how to select column names using either EntityManager or JP QL.
What I want is to get the column names of a table and pass them to my success view so that I can display them in a table format as headings. I want for this functionality to
be generic if possible.I'm using Spring MVC and JPA with TopLink Essentials as the persistence provider. Here's some of my code in the onSubmit() method: