I have a DataRow in an ROP client.
Is there a way to turn it into an
object registered to a CayenneContext
without doing another read to the
database?
You can using DataObjectUtils. But this will incur a trip to the
server. Whether the server will query the DB or not depends on whether
the object has been cached already on the server.
Andrus
On Jun 4, 2009, at 9:55 AM, Zissis Trabaris wrote:
I have a DataRow in an ROP client. Is there a way to turn it into an
object registered to a CayenneContext without doing another read to
the
database?
Zissis Trabaris * Chief Technology Officer * INSYSWARE * 3235 West
River
Road, Grand Island, New York, 14072, USA
Mobile (716) 930-5654 * Office (518) 636-4118 * Fax (716) 625-1305 *
[email protected] <mailto:%20%[email protected]> *
www.insysware.com <http://www.insysware.com/>
________________________________
CONFIDENTIALITY: This email (including any attachments) may contain
confidential, proprietary and privileged information, and unauthorized
disclosure or use is prohibited. If you received this email in error,
please notify the sender and delete this email from your system. Thank
you.