-->
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: Problème d'update après un select
PostPosted: Wed Apr 09, 2008 10:00 am 
Newbie

Joined: Fri Apr 20, 2007 8:40 am
Posts: 4
Hibernate version: 3.2.0

Bonjour,

J'ai une table mappée sur un héritage de classe, j'effectue un select dans cette table qui me remonte un certaine nombre d'enregistrements.

La requête fonctionne correctement, mais lorsque j'affiche les trace sql je vois qu'après mon select Hibernate fait un update de chacun des enregistrement remonté.

Quelqu'un connaît ce cas et la solution pour qu'il n'y est pas d'update ?

Je précise qu'aucune manipulation n'est fait des objets remonté pendant la session qui pourrait déclencher un update.

Merci.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 19, 2008 9:23 am 
Newbie

Joined: Fri May 23, 2008 5:20 am
Posts: 11
Location: Minusio, Switzerland
Can you post the code? :)

_________________
- ianaz -

http://www.ianaz.ch


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