Can't delete in Cayenne 3M5 :(

From: Joseph Schmidt (joseph_schmidt7..ahoo.com)
Date: Wed Apr 08 2009 - 13:48:25 EDT

  • Next message: Robert Zeigler: "Re: Can't delete in Cayenne 3M5 :("

    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.

          



    This archive was generated by hypermail 2.0.0 : Wed Apr 08 2009 - 13:48:58 EDT