Having trouble using DataObjectUtils with ROP

From: Tarik (cherta..mail.com)
Date: Sat Dec 15 2007 - 21:46:02 EST

  • Next message: Kevin Menard: "Re: Having trouble using DataObjectUtils with ROP"

    I am trying to use DataObjectUtils on a client ROP application but getting
    an error saying there is no db entity. Is this designed to work only on the
    server? What would be a good way to select by primary key on the client?

    Thanks

    Exception in thread "main" org.apache.cayenne.CayenneRuntimeException: [
    v.3.0M1 Jul 17 2007 05:51:33] No DbEntity for ObjEntity: Contact
        at org.apache.cayenne.DataObjectUtils.buildId(DataObjectUtils.java:308)
        at org.apache.cayenne.DataObjectUtils.objectForPK(DataObjectUtils.java
    :131)



    This archive was generated by hypermail 2.0.0 : Sat Dec 15 2007 - 21:46:36 EST