Hi. I have an entiry defined as:
@OneToMany(mappedBy = "strategy")
@OnDelete(DeletePolicy.CASCADE)
@Composition
protected List<StrategySession> sessions;
And a Web page where I edit strategies and add session to a gui table (sessions). It works fine as long as I don remove any sessions previously added. When I do remove a session and click OK button I get:
IllegalStateException: Cannot get unfetched attribute [account] from detached object XGUI0010.
StrategySession has one-to-one relation with Session, which has a one-to-one relation with Account
Why is it complaining of an attribute only when I romve the item from StrateySession?
André