-->
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.  [ 1 post ] 
Author Message
 Post subject: Problems with ScrollableResults
PostPosted: Tue Nov 28, 2006 5:18 pm 
Newbie

Joined: Sat May 14, 2005 11:19 am
Posts: 14
When I use ScrollableResults on SQL queries (select a,b,c,d from sometable) I always get ArrayIndexOutOfBoundsExceptions when I use getInteger(i) etc., because the internal Type[] which represents the column types of the result is empty. What have I to do, to make these operation work? When i use get() and cast the columns myself I got no problems. Or do these operations only work with criteria and hql queries?


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

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.