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.  [ 4 posts ] 
Author Message
 Post subject: Initialiser le lazy="true" par défaut
PostPosted: Thu Nov 23, 2006 12:41 pm 
Newbie

Joined: Thu Nov 23, 2006 12:27 pm
Posts: 6
Bonjour,
j ai vu dans la documentation officielle que le lazy est automatiquement à false.
Existe t il un moyen d indiquer que *TOUTES* les liaisons sont automatiquement avec un lazy="true" autrement que le spécifier dans chaque liaison

J ai cette problematique dans le cadre de projet EJB3+SEAM et Hibernate Core+Spring+...


Merci d avance de votre aide

Alexandre

_________________
JBOSS AS 4.0.5 EJB 3
Oracle AS 10.1.3 Hibernate 3.2.0

JDK 5


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 23, 2006 1:45 pm 
Newbie

Joined: Thu Nov 23, 2006 12:27 pm
Posts: 6
A ce que j ai vu le lazy est initiale a true seulement dans l implementation EJB3 (cf javadoc ManyToOne)

_________________
JBOSS AS 4.0.5 EJB 3
Oracle AS 10.1.3 Hibernate 3.2.0

JDK 5


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 23, 2006 1:47 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
lazy est "true" partout sauf @*ToOne

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 02, 2006 7:31 pm 
Proxool Developer
Proxool Developer

Joined: Tue Aug 26, 2003 10:42 am
Posts: 373
Location: Belgium
Oui, c'est possible, cfr http://www.hibernate.org/hib_docs/v3/re ... on-mapping

(don't forget to grant credits ;-)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.