-->
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: Lazy loading et méthode load
PostPosted: Fri Sep 30, 2005 6:31 am 
Newbie

Joined: Wed Sep 14, 2005 11:13 am
Posts: 4
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:3.0.5

Bonjour à tous,

J'ai un petit problème lorsque j'utilise la méthode load et que le lazy loading est positionné à 'true'.
Si l'objet que j'essaie de lire en base n'existe pas, la méthode load ne lève pas d'exception mais me renvoit une référence de l'objet avec tous ses champs à null ....

Est-ce normal ?

Merci d'avance.

Stéphane


Top
 Profile  
 
 Post subject: Après relecture de la doc
PostPosted: Fri Sep 30, 2005 6:54 am 
Newbie

Joined: Wed Sep 14, 2005 11:13 am
Posts: 4
Cela semble être le comportement normal de la méthode load lorsque l'on a un cache ou un proxy ...

Je me trompe ? :)


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.