cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Menard <kmen...@servprise.com>
Subject Re: Having trouble using DataObjectUtils with ROP
Date Sun, 16 Dec 2007 17:16:05 GMT
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" <chertar@gmail.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)


Mime
View raw message