• 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: Paolo Sommaruga <email@hidden>
  • Date: Fri, 16 Apr 2004 10:38:59 +0200

Thanks Giorgio,

I have looked at the Url you send but It seems that there are none
indications regard this issue. One person suggests to use largeobjects,
I think pg_largeobjects, but I don't believe one can use it on a JDBC
or EOModel

Any suggestion ?

Regards


	Paolo



Il giorno 15/apr/04, alle 10:39, Giorgio Valoti ha scritto:

> On 15/apr/04, at 03:13, Arturo Pirez wrote:
>
>> On Apr 14, 2004, at 1:35 PM, Paolo Sommaruga wrote:
>>
>>> The code works very well but only with file < 3MB size. With greater
>>> size I need to increase the max jvm heap size. I can upload a file of
>>> 10 MB size only with -Xmx512m, which is too much memory for a single
>>> WO
>>> instance for me
>>
>> This looks like a limitation of the JDBC driver for pgSQL.  What it
>> does internally is read the whole file at once then ships it over to
>> the DB in a bytea.  There's a comment to the effect that data can't
>> be streamed over to the database.
>>
>> You may want to complain to the pgSQL developers about this.
>
> There was a discussion on the pgsql-jdbc list, regarding this issue.
> Here's the link:
> <http://archives.postgresql.org/pgsql-jdbc/2004-04/msg00128.php>
>
> Hope that helps
>
>
> --
> Giorgio Valoti
> --------------
> _______________________________________________
> 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.
_______________________________________________
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.


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>)
 >Re: How can I stream blobs to/from entities? (From: Serge Froment <email@hidden>)
 >Re: How can I stream blobs to/from entities? (From: Serge Froment <email@hidden>)
 >Re: How can I stream blobs to/from entities? (From: Paolo Sommaruga <email@hidden>)
 >Re: How can I stream blobs to/from entities? (From: Arturo PĂ©rez <email@hidden>)
 >Re: How can I stream blobs to/from entities? (From: Giorgio Valoti <email@hidden>)

  • Prev by Date: Re: How can I stream blobs to/from entities?
  • Next by Date: WOMailDelivery with attachment in webobjects 5.2.3 ?
  • 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