I assume you want the equivalent of ResultSetMetaData in JDBC? The JDBC ResultSet looks inaccessible to me if you're using Hibernate Query. So that means you can't get the ResultSetMetaData. It looks to me like you'd have to get the JDBC connection from the session and execute the query yourself in order to have access to that interface. I'm curious about what you need this for though since you say that you're mapping to an object anyway. That, combined with your mapping file, provides quite a bit.
|