Skip site navigation (1) Skip section navigation (2)

Any examples for Postgresql 8.0 using jdbc type 2/3 driver with blobs?

From: "Brent Friedman" <ledfut(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Any examples for Postgresql 8.0 using jdbc type 2/3 driver with blobs?
Date: 2008-01-31 21:24:46
Message-ID: 94fa210b0801311324u2eb9013eq5ba8b54cd8a153f3@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
I made several attempts today to get an example of a blob insert via jdbc
working today, but ran into several errors.  I tried both oid and bytea data
types, and tried the LargeObject manager/methods. [The bytea type probably
won't ultimately work for me - we need to be able to insert blobs of a few
megs each.]   We use 8.0 in production, so newer examples with 8.1/8.2/8.3
specific implementations wouldn't help very much.

So, any ideas where I can find working examples of jdbc/blob operations?

Thanks,

Brent Friedman

Responses

pgsql-jdbc by date

Next:From: Matt ChambersDate: 2008-02-01 16:51:57
Subject: Pg JDBC3 driver and savepoints
Previous:From: Kris JurkaDate: 2008-01-31 19:27:38
Subject: Re: 8.3 build 603 build error on Fedora 8

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group