Re: Can't delete in Cayenne 3M5 :(

2009-04-10 Thread Kevin Menard
Kinda corny interjection, but I really liked this exchange. The civil interaction is one of the things I really enjoy about the Cayenne community. -- Kevin On Wed, Apr 8, 2009 at 2:13 PM, Joseph Schmidt wrote: > > Hi, > > Thank you very much for the quick response. > > > The 3.0 API was relax

Re: Can't delete in Cayenne 3M5 :(

2009-04-08 Thread Joseph Schmidt
Hi, Thank you very much for the quick response. > The 3.0 API was relaxed from 2.0. In 2.0, deleteObject took > an org.apache.cayenne.Persistent.  In 3.0, it takes any > java.lang.Object. I see... > See: > http://cayenne.apache.org/doc/api/org/apache/cayenne/access/DataContext.html#deleteObje

Re: Can't delete in Cayenne 3M5 :(

2009-04-08 Thread Robert Zeigler
Well... I don't use Click, but I do use deleteObject all the time with no issues. It looks like you're running into an API difference. The 3.0 API was relaxed from 2.0. In 2.0, deleteObject took an org.apache.cayenne.Persistent. In 3.0, it takes any java.lang.Object. See: http://cayenne.a

Can't delete in Cayenne 3M5 :(

2009-04-08 Thread Joseph Schmidt
Trying to delete object entities with Cayenne 3M5 doesn't seem to work anymore - it used to work with 2.0 :(. I'm getting the error message: java.lang.NoSuchMethodError: org.apache.cayenne.access.DataContext.deleteObject(Lorg/apache/cayenne/Persistent;)V Is there something different in 3.0 abo