-->
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: lazy="no-proxy" with instrumentation and inheritan
PostPosted: Tue Oct 24, 2006 5:50 am 
Newbie

Joined: Tue Aug 02, 2005 1:24 pm
Posts: 5
[b]Hibernate version:[/b] 3.1.3


If I have three classes like the following:
class A {
private product Product;
public Product getProduct() {
return this.product;
}
public void setProduct(Product product) {
this.product = product;
}
}

class B extends A {
}

class C extends B {
}

Mapping document maps class B and class C as joined subclass (the class A used as root of mi hierarcy is used also in other subclasses and is not mapped at all).

If I instrument both three classes and I retrieve a persistent instance of the class C via a simple CriteriaQuery, is it lazy loading of product property enabled or not?

Thanks,
Bye

_________________
Riccardo Palombella
Accenture S.p.a.
Milan
Italy


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.