ManyToMany Relation returns transient objects
Markus Reich <[email protected]> Mon, 6 May 2024 10:46:22 +0200
| Newsgroups | gmane.comp.java.cayenne.user |
|---|---|
| Message-ID | <CAGscxrxdkCx=by6HTGeqwrgg__+tH+8Lek-i_9GD8DzS-CzBXw@mail.gmail.com> |
Hi, I'm on the latest release 4.2 of Cayenne and run in a problem when creating a many to many relationship. I had table A und table B and a joining table C which contain the ID columns of A and B The relation is defined as many to many and Dep PK is marked for A and B, further the cascading of deletion is set to NO ACTION Now when I create / add a new relation commit the work and the delete the relation everythings of, but when I do the same again, create the same relation as before and delete it! A relation function returns a object C in transient state? regards Meex