Re: problems in setting reverse relationship

2009-05-10 Thread Andrey Razumovsky
I think I've seen something similiar. Is this the latest Cayenne build? Could you open a JIRA bug (and possibly provide a JUnit test)? 2009/5/11 Marcin Skladaniec > Hello > > I have noticed a problem in ROP cayenne. It seems like the reverse > relationship is not set until the actual relation is

problems in setting reverse relationship

2009-05-10 Thread Marcin Skladaniec
Hello I have noticed a problem in ROP cayenne. It seems like the reverse relationship is not set until the actual relation is faulted. Simple example: this works correctly: logger.warn(artist.getPaintings().size()); -> prints 0 painting.setArtist(artist); logger.warn(artist.getPaintings().siz