users@glassfish.java.net

Re: JPA Toplink ManyToMany Persistence Problem

From: <glassfish_at_javadesktop.org>
Date: Sat, 10 Apr 2010 14:43:55 PDT

mmxbass,

I mean Strand.java is responsible to manage the relationship many-to-many. This way if you update or insert any item in the collection throught Chapter and try to update or persist these itens they won't be in the database.

The association many-to-many is not bidireciona. Only one side control the collection.

Regards
[Message sent by forum member 'cleitonls']

http://forums.java.net/jive/thread.jspa?messageID=396281