You can use PersistenceBroker Queries directly...

http://db.apache.org/ojb/faq.html#I%20don't%20like%20OQL,%20can%20I%20use%20the%20PersistenceBroker%20Queries%20within%20ODMG?


"Andreas Schildbach" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Is there a simple "Find by ID" call, instead of using a somewhat bloated
> OQLQuery that only returns one result (and having to use an Iterator
> just to get one object).
>
> Something similar to "Object Database.load(Class type, Object identity)"
> in the Castor API?
>
> Regards,
>
> Andreas




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to