Streaming blob to db - Mailing list pgsql-jdbc

From 時期 精霊
Subject Streaming blob to db
Date
Msg-id 15D1FD8F-91C2-4565-B804-E43DDEEC93AB@goyman.com
Whole thread Raw
Responses Re: Streaming blob to db  (Jesper Thorhauge <jth@conzentrate.com>)
Re: Streaming blob to db  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
Hello,

I got a web application that use jdbc and that will need to stream
binary data to the database.

My application need an outputstream to send the data to the db, and
an inputstream to read the data from the db.

I seeked the web but I did not found any working example.

I use postgresql 8.0.1 with bytea field.

The data size will be around:

<1mb 50%
1 - 100mb 30%
 >100mb 20%

Any idea of the best approach?

Regards

Kuon

Attachment

pgsql-jdbc by date:

Previous
From: "Nidhi Srivastava"
Date:
Subject: Re: Create Database using JDBC
Next
From: Scott Marlowe
Date:
Subject: Re: XA support