cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: create a fault like EOF?
Date Fri, 09 Mar 2007 16:41:22 GMT

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

Mime
View raw message