All these domain objects are mapped with Hibernate and through business layer I might get the Parrent object with "childrens" initialized and "addresses" not initialized. I don't want the Hibernate3Replicator to eagerly fetch the uninitialized collection and just return null for that property.
Any ideas?
Thanks,
Valy Sivec
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have a domain object:
Parent {
List<Children> childrens;
List<Addresses> addresses;
}
All these domain objects are mapped with Hibernate and through business layer I might get the Parrent object with "childrens" initialized and "addresses" not initialized. I don't want the Hibernate3Replicator to eagerly fetch the uninitialized collection and just return null for that property.
Any ideas?
Thanks,
Valy Sivec
Sorry, I found that my question was answered on this post "ignore Hibernate proxied associations".
Thanks,
Valy Sivec