-->
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.  [ 3 posts ] 
Author Message
 Post subject: Resultset
PostPosted: Thu Feb 21, 2008 12:27 am 
Newbie

Joined: Thu Feb 21, 2008 12:24 am
Posts: 1
Hi,

For a specific requirement, I need to get the jdbc resultset from the session from which my HQL is executed. Is there any way in which I could achieve this.

Thanks.


Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

[b]Hibernate version:[/b]

[b]Mapping documents:[/b]

[b]Code between sessionFactory.openSession() and session.close():[/b]

[b]Full stack trace of any exception that occurs:[/b]

[b]Name and version of the database you are using:[/b]

[b]The generated SQL (show_sql=true):[/b]

[b]Debug level Hibernate log excerpt:[/b]


Problems with Session and transaction handling?

Read this: http://hibernate.org/42.html


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 21, 2008 11:04 am 
Newbie

Joined: Wed May 21, 2008 11:00 am
Posts: 2
I am confonting an identical problem. I'd like to execute my query through Hibernate (since I already have it configure), but interfaces to other JAR's require a java.sql.ResultSet parameter . . . I can't seem to find any info.


Why, might I ask, did Hibernate implement a custom ResultSet interface (ScrollableResults) instead of using java.sql.ResultSet?


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 21, 2008 11:05 am 
Newbie

Joined: Wed May 21, 2008 11:00 am
Posts: 2
Sorry, double post.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.