You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by Arturo Perez <ap...@hayesinc.com> on 2007/03/09 16:43:30 UTC

create a fault like EOF?

How does one go about making a fault the way that EOF does?

tia,
arturo



Re: create a fault like EOF?

Posted by Andrus Adamchik <an...@objectstyle.org>.
On Mar 9, 2007, at 5:43 PM, Arturo Perez wrote:

> How does one go about making a fault the way that EOF does?
>
> tia,
> arturo

Here is one way:

ObjectId id = new ObjectId("Artist", Artist.ARTIST_ID_PK_COLUMN, 55);
Artist fault = context.localObject(id);

Andrus