-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: resultset metadata using Hibernate
PostPosted: Thu Jun 25, 2009 3:27 pm 
Newbie

Joined: Thu Jun 25, 2009 3:06 pm
Posts: 2
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


Top
 Profile  
 
 Post subject: Re: resultset metadata using Hibernate
PostPosted: Fri Jun 26, 2009 5:29 am 
Newbie

Joined: Tue Jun 23, 2009 3:31 am
Posts: 10
Look at the below url.
https://forum.hibernate.org/viewtopic.php?p=2399686


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.