-->
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 from Hibernate
PostPosted: Thu Feb 19, 2009 10:02 am 
Newbie

Joined: Wed Nov 19, 2008 8:20 am
Posts: 9
Its possibile to execute a sql query of Statement or PreparedStatement that return a ResultSet with Hibernate?
Thanks.

_________________
-------------------------------------
La realizzazione di un sogno
aiuta l'animale uomo a vivere
con dignità
-------------------------------------


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 19, 2009 4:04 pm 
Expert
Expert

Joined: Fri Aug 19, 2005 2:11 pm
Posts: 628
Location: Cincinnati
That's not even using Hibernate. So if I were you I'd just make a Connection from the DataSource like normal

you can get the connection out of the Session, but that is deprecated and slated to be removed shortly.

_________________
Chris

If you were at work doing this voluntarily, imagine what you'd want to see to answer a question.


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.