Re: Strange behavior with Cayenne

2009-09-11 Thread Lucas Holt
Thanks. I found the problem was in the code calling this. On Sep 10, 2009, at 11:42 AM, Michael Gentry wrote: That looks pretty good to me (I do the same types of things just fine). Are company/office in the same DataContext? mrg Lucas Holt l...@foolishgames.com

Re: Strange behavior with Cayenne

2009-09-10 Thread Michael Gentry
That looks pretty good to me (I do the same types of things just fine). Are company/office in the same DataContext? mrg On Thu, Sep 10, 2009 at 11:07 AM, Lucas Holt wrote: > I have a table, projects, that consistently causes me grief with Cayenne. > When creating a new object, it seems to work

Strange behavior with Cayenne

2009-09-10 Thread Lucas Holt
I have a table, projects, that consistently causes me grief with Cayenne. When creating a new object, it seems to work but never changes the state of the object in cayenne. Thus, next time I try to do any operation requiring commitChanges(), it tries to insert the record again and fails. I can't