pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
getBlob and setBlob on OID columns
2+ messages / 2 participants
[nested] [flat]

* getBlob and setBlob on OID columns
@ 2004-05-23 20:43  Bill Schneider <bschneider@vecna.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Bill Schneider @ 2004-05-23 20:43 UTC (permalink / raw)
  To: pgsql-jdbc

I am using 7.3.x and it looks like PreparedStatement methods getBlob and 
setBlob appear to work with OID columns, at least on the surface.  I am 
aware of issues with deletion (content not garbage-collected when row 
deleted).  Are there any other subtleties that I may be missing?

-- Bill
-- 
Bill Schneider
Chief Architect

Vecna Technologies
5004 Lehigh Rd., Suite B
College Park, MD 20740
bschneider@vecna.com
t: 301-864-7594
f: 301-699-3180




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: getBlob and setBlob on OID columns
@ 2004-05-23 21:07  Kris Jurka <books@ejurka.com>
  parent: Bill Schneider <bschneider@vecna.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Kris Jurka @ 2004-05-23 21:07 UTC (permalink / raw)
  To: Bill Schneider <bschneider@vecna.com>; +Cc: pgsql-jdbc



On Sun, 23 May 2004, Bill Schneider wrote:

> I am using 7.3.x and it looks like PreparedStatement methods getBlob and 
> setBlob appear to work with OID columns, at least on the surface.  I am 
> aware of issues with deletion (content not garbage-collected when row 
> deleted).  Are there any other subtleties that I may be missing?
> 

You cannot use this method with Connection.setAutoCommit(true) because 
large objects require a transaction to use.

Kris Jurka



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-05-23 21:07 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-05-23 20:43 getBlob and setBlob on OID columns Bill Schneider <bschneider@vecna.com>
2004-05-23 21:07 ` Kris Jurka <books@ejurka.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox