I am generating a report using Hibernate.
Below is the sample code: Query query = session.createSQLQuery("select * from A, B where A.id= B.Val"); ScrollableResults results = query.scroll(ScrollMode.FORWARD_ONLY);
I want to know all the column names and column types before generating an Excel report.
How to achieve this with Hibernate scrollable results?
Can anyone please help me on this.