Re: How can I stream blobs to/from entities?
Re: How can I stream blobs to/from entities?
- Subject: Re: How can I stream blobs to/from entities?
- From: Serge Froment <email@hidden>
- Date: Mon, 12 Apr 2004 16:44:30 -0400
Hi Jonathan,
Thanks for your quick response.
I am actually trying to do it at JDBC level. The problem I have is
reaching the JDBC connection that WebObjects maintains so I can talk to
the database without creating a new connection, because this is costly.
I guess com.webobjects.jdbcadaptor.JDBCContext.connection() is the
method I need to call, but I don't know how to get my hands on the
JDBCConect instance.
Le 12 avr. 04, ` 16:29, Jonathan Rochkind a icrit :
I don't believe EOF supports that, unfortunately. You need to do it
with JDBC API directly. Don't model the myBlobAttribute at all, but
perhaps write those methods to use JDBC API to do what you want, by
referencing the primary key of the EO to make sure you are
getting/setting from the right row.
Serge Froment
http://www.serge-froment.com
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.