• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How can I stream blobs to/from entities?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: How can I stream blobs to/from entities?
      • From: Jonathan Rochkind <email@hidden>
References: 
 >How can I stream blobs to/from entities? (From: Serge Froment <email@hidden>)
 >Re: How can I stream blobs to/from entities? (From: Jonathan Rochkind <email@hidden>)

  • Prev by Date: Re: How can I stream blobs to/from entities?
  • Next by Date: Re: How can I stream blobs to/from entities?
  • Previous by thread: Re: How can I stream blobs to/from entities?
  • Next by thread: Re: How can I stream blobs to/from entities?
  • Index(es):
    • Date
    • Thread