Perhaps you could tell us why you need access to the methods defined in the ResultSetMetaData interface? In Hibernate you never deal with ResultSets. So you have no access to the methods of ResultSetMetaData. Hibernate is designed to allow you to access relational data as Objects not relations, so what would you do with this info anyway? Pretty much everything that can be retrieved via ResultSetMetaData can be defined in a mapping file.
With Hibernate there is no ResultSet, and therefore no ResultSetMetaData. And you deal with properties and Objects, never columns.
If your HQL returns an array of Objects representing the properties of each Object in your results Collection you know that each entry in that array is an Object or one of its sub-types. So you no longer need an int value to represent its type. [ May 16, 2005: Message edited by: Paul Sturrock ]