I have an administrative console in my web application that allows an admin to perform a custom SQL SELECT query on our database.
Underneath, the application is usin
I also faced a similar problem working with JPA. There is no direct way in JPA to access the resultset metadata. The solution can be extracting column names from the query itself or use JDBC to get the metadata.