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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

BLOBs etc


  • From: Sven Köhler <skoehler(at)upb(dot)de>
  • To: pgsql-jdbc(at)postgresql(dot)org
  • Subject: BLOBs etc
  • Date: Fri, 07 Jan 2005 03:17:06 +0100
  • Message-id: <crkrbc$t8c$1@sea.gmane.org> <text/plain>

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




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group