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
2020
With hibernate 5.2.11.Final is actually pretty easy. In my example you can see how I get the column names for every row. And how I get values by column name.
Query q = em.createNativeQuery("SELECT columnA, columnB FROM table");
List result = q.getResultList();
for (Tuple row: result){
// Get Column Names
List> elements = row.getElements();
for (TupleElement