Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] lazy loading overrides attached object

Hi everybody,

Ever anybody had such a situation:

- A with @OneToMany EAGER to B
- B with @ManyToOne LAZY to A
(yes, other than usual, but with good reason in this case)

And now this situation:
- some B is retrieved separately, modified and still attached
- now we navigate to its A, thus all B are loaded EAGERLY
- this loading includes the B which is still attached
- and the modification is overridden by the EAGER loading!

Thanks for any hints!
... Michael

-- 
http://michael.hoennig.de



Back to the top