BLOBs etc - Mailing list pgsql-jdbc

From Sven Köhler
Subject BLOBs etc
Date
Msg-id crkrbc$t8c$1@sea.gmane.org
Whole thread Raw
Responses Re: BLOBs etc  (Oliver Jowett <oliver@opencloud.com>)
Re: BLOBs etc  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
Hi,

on the jdbc-webpages it says, that the JDBC team may decide to change
getBLOBG/setBLOB to support bytea only, and that one should use the
PostGreSQL specific LargeObject extension to acces them.

Well, how should one be abled to use the LargeObjects extension, when
ConnectionPools are used? The Connection object supplied by the
ConnectionPool implementation is usually not the one supplied by the
JDBC driver and therefor the object cannot be casted to PGConnection
anymore. So the LargeObject extension cannot be used anymore like
suggested on the page
http://www.postgresql.org/docs/7.4/static/jdbc-binary-data.html

Is there any kind of support for storing data in oid-columns which will
work with ConnectionPool implementations?

Thx
   Sven

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: Removing our datasource/pooling implementation.
Next
From: Oliver Jowett
Date:
Subject: Re: BLOBs etc