Re: Fw: help on saving obj using relations

2008-04-17 Thread Gustav Weber
> I never said that "demo36" is an example of a > program that has the issue > I've described in past news! > That sample correctly operates, because it does not > use relationships > defined as you described! I applogize. That was my error :( : I falsely supposed it's the same example because of

Re: Fw: Fw: help on saving obj using relations

2008-04-17 Thread Michael Gentry
> > - Original Message - From: "Michael Gentry" <[EMAIL PROTECTED]> > To: > Sent: Thursday, April 17, 2008 6:04 PM > Subject: Re: Fw: help on saving obj using relations > > > > > > > Could you include a snippet of your code? > >

Fw: Fw: help on saving obj using relations

2008-04-17 Thread Mauro Carniel
I'll try to provide the app but... not for today. Anyway thanks for now. Cheers, Mauro - Original Message - From: "Michael Gentry" <[EMAIL PROTECTED]> To: Sent: Thursday, April 17, 2008 6:04 PM Subject: Re: Fw: help on saving obj using relations Could you incl

Re: Fw: help on saving obj using relations

2008-04-17 Thread Michael Gentry
al Message - From: "Michael Gentry" <[EMAIL PROTECTED]> > To: > Sent: Thursday, April 17, 2008 5:46 PM > Subject: Re: help on saving obj using relations > > > > > > > I looked at: > > > > > http://oswing.svn.sourceforge.net/viewvc/o

Fw: help on saving obj using relations

2008-04-17 Thread Mauro Carniel
rting arised. I followed the same steps you reported here and it does not work: this is the problem! - Original Message - From: "Michael Gentry" <[EMAIL PROTECTED]> To: Sent: Thursday, April 17, 2008 5:46 PM Subject: Re: help on saving obj using

Re: help on saving obj using relations

2008-04-17 Thread Michael Gentry
I looked at: http://oswing.svn.sourceforge.net/viewvc/oswing/trunk/srcdemo/demo36/auto/_EmpVO.java?revision=214&view=markup And I don't believe you have modeled your relationships correctly. You manually created a get/setDept() and get/setTask() in the subclass: http://oswing.svn.sourceforge.net

Re: help on saving obj using relations

2008-04-17 Thread Gustav Weber
I guess Mauro forgot to mention an important aspect: The situation appeared while integrating Cayenne with OpenSwing: http://oswing.sourceforge.net/ and the problem he describes can be seen/reproduced from the code example in "srcdemo/demo36" from the project's Sourceforge SVN repository: http://

help on saving obj using relations

2008-04-17 Thread Mauro Carniel
Hi! Maybe someone in the past has already met this issue, so sorry if I ask it again! I've got 3 tables: employee, depts and tasks having 2 fk: one from employees to depts and one from employees to tasks. I've modeled both tables and relations using modeler. After that I created a simple appli