Hi, we are using Hibernate v3.3.1 in our projecet, iam trying to exeucte SQLquery and get metadata of the result. below is the code SQLQuery Tqry=Tsession.createSQLQuery("select * from Test"); Type Ttype[] = Tqry.getReturnTypes(); String Tname = Ttype[0].getName();
iam getting the following exception: java.lang.UnsupportedOperationException: not yet implemented for SQL queries
I see the method in API, please let me know if iam wrong at any point, of if there any better way of getting metadata using hibernate.
_________________ --thanks for your time
|