-->
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: Fermeture curseur par Hibernate avec proc stockée
PostPosted: Thu Jan 29, 2009 12:47 pm 
Newbie

Joined: Thu Jan 29, 2009 10:56 am
Posts: 1
Bonjour,

Dans mon application j'utilise Spring 2 + Hibernate 3 pour me connecter à ma base de données Oracle 9.

Pour certains services métiers je fais appel à des procédures stockées en suivant les consignes indiquées dans cette url http://www.dil.univ-mrs.fr/~massat/d.../querysql.html

Pour appeler ma proc stock en java je fais :
getHibernateTemplate().findByNamedQuery("selectAllMyUsers");

Tout fonctionne bien sauf que les curseurs utilisés par ma procédure stockée ne sont pas libérés.

S'agit il d'une mauvaise utilisation de ma part ?
Comment dois-je faire pour libérer le curseur ?
Dois-je englober mon appel à ma procédure stockée dans une transaction ?

Merci de votre aide


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.