Hi,
How to lazy load the fields in the Embeddable object. I am doing this:
@Entity
Class A{
...
@Embedded
private B b;
}
------------------
@Embedded
Class B{
@Basic(fetch=FetchType.LAZY)
@Column(...)
private String foo;
}
So here the field b in class A should be lazily loaded, but it's NOT.
What am I missing or doing wrong?
Thanks
Show replies by date