-->
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: Does Hibernate 3.2.6ga support lazy loading of OneToOne asso
PostPosted: Tue May 17, 2011 3:17 pm 
Newbie

Joined: Mon May 18, 2009 10:45 am
Posts: 9
I've searched the forum but I just haven't been able to discern whether or not Hibernate 3.2.6.ga supports lazy loading of OneToOne associations. While there are quite a few forum postings on the subject, many are old. So, with that said, does Hibernate 3.2.6ga support lazy loading of OneToOne associations?

For what it's worth, I've tried both of the following (to no avail)...
Code:
    @OneToOne(optional = false, fetch = FetchType.LAZY, cascade = CascadeType.ALL)
    private FormSet formSet = new FormSet();

... and ...
Code:
    @OneToOne(optional = false, fetch = FetchType.LAZY, cascade = CascadeType.ALL)
    @LazyToOne(LazyToOneOption.NO_PROXY)
    private FormSet formSet = new FormSet();

Thanks in advance,

Tom


Top
 Profile  
 
 Post subject: Does Hibernate 3.3.2ga support lazy loading of OneToOne asso
PostPosted: Tue May 17, 2011 4:08 pm 
Newbie

Joined: Mon May 18, 2009 10:45 am
Posts: 9
Actually, I'm more interested in whether or not Hibernate Core 3.3.2GA supports lazy loading of OneToOne associations.

Tom


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.