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

2008-04-17 Thread Michael Gentry
Well, it sounds like you did something like "task = dataContext.newObject(Task.class)" and then "employee.setTask(task)", which would definitely cause an insert of a new task (and the same for department). If you have an existing task, it should only define the relationship between the employee an

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 include a snippet of your