cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Schmidt <joseph_schmid...@yahoo.com>
Subject Can't delete in Cayenne 3M5 :(
Date Wed, 08 Apr 2009 17:48:25 GMT

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 about deleting objects since 2.0?
I was just using:
http://incubator.apache.org/click/docs/extras-api/org/apache/click/extras/cayenne/CayenneTemplate.html#deleteObject(org.apache.cayenne.DataObject)

as before. That method from CayenneTemplate just calls DataContext#deleteObject(Object).

thanks,
Joseph.


      


Mime
View raw message