Re: M:N storage removes duplicate elements

2005-10-27 Thread Armin Waibel
Hi Jason, For instance: Foo foo1 = new Foo(); Bar bar1 = new Bar(); broker.beginTransaction(); broker.store( bar1 ); broker.store( foo1 ); bar1.getFoos().add( foo1 ); bar1.getFoos().add( foo1 ); broker.store( bar1 );

Re: M:N storage removes duplicate elements

2005-10-27 Thread Jason A. Lunn
On Oct 27, 2005, at 05:53, Armin Waibel wrote: Hi Jason, For instance: Foo foo1 = new Foo(); Bar bar1 = new Bar(); broker.beginTransaction(); broker.store( bar1 ); broker.store( foo1 ); bar1.getFoos().add( foo1 );

M:N storage removes duplicate elements

2005-10-26 Thread Jason A. Lunn
I have an indirection table foo_bar that happily implements an m:n relationship between foo and bar. the columns of foo_bar include foo_id, bar_id, and a unique id for the association itself (mysql backend, the id column is inserted automatically). This is because it is relevant to my

Re: M:N storage removes duplicate elements

2005-10-26 Thread Thomas Dudziak
On 10/27/05, Jason A. Lunn [EMAIL PROTECTED] wrote: I have an indirection table foo_bar that happily implements an m:n relationship between foo and bar. the columns of foo_bar include foo_id, bar_id, and a unique id for the association itself (mysql backend, the id column is inserted

Re: M:N storage removes duplicate elements

2005-10-26 Thread Jason A. Lunn
On Oct 26, 2005, at 19:00, Thomas Dudziak wrote: On 10/27/05, Jason A. Lunn [EMAIL PROTECTED] wrote: I have an indirection table foo_bar that happily implements an m:n relationship between foo and bar. the columns of foo_bar include foo_id, bar_id, and a unique id for the association