Re: Having trouble using DataObjectUtils with ROP

From: Kevin Menard (kmenar..ervprise.com)
Date: Sun Dec 16 2007 - 12:16:05 EST

  • Next message: Adam Yocum: "Help with ROP and Cayenne 3.0M2 on Glassfish"

    Sounds like you've run into CAY-574. See the JIRA issue for a workaround:

    https://issues.apache.org/cayenne/browse/CAY-574

    -- 
    Kevin
    

    On 12/15/07 9:46 PM, "Tarik" <cherta..mail.com> wrote:

    > 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 : Sun Dec 16 2007 - 12:16:41 EST