-->
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: Hibernate HQL query execution problem
PostPosted: Fri May 10, 2013 2:15 am 
Newbie

Joined: Tue Jun 19, 2012 8:30 am
Posts: 2
I. 1 am using Hibernate in my DAO layer to get data from MySQL and
using HQL query every thing is going fine.

2. And i am using core jdbc statements on connections getting from
hibernate session in some other classes of my application.

But i am getting the error "No operations allowed after statement closed"
in class where i am using HQL query (in code mentioned in case 1) even
though i am not using any jdbc statement in this class ?

Can anybody please explain me the reason behind this problem and
give me the possible solution ?

and How the hibernate uses jdbc statement internally to execute HQL query ?


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.