From: | "David Wall" <d(dot)wall(at)computer(dot)org> |
---|---|
To: | "pgsql-jdbc" <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | NULL Blob column error |
Date: | 2002-09-10 01:04:09 |
Message-ID: | 000901c25865$f8898b20$3201a8c0@expertrade.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
My code has a table with an OID that's allowed to be NULL. When I went to
retrieve the blob using a ResultSet.getBlob() call, I got an exception. It
appears that a NULL OID value is not being handled correctly since it should
set the state within ResultSet so that I can call ResultSet.wasNull() to see
if the object was retrieved or not.
I received the following exception on 7.2.2:
FastPath call returned ERROR: inv_open: large object 0 not found
at org.postgresql.fastpath.Fastpath.fastpath(Fastpath.java:131)
at org.postgresql.fastpath.Fastpath.fastpath(Fastpath.java:181)
at org.postgresql.fastpath.Fastpath.getInteger(Fastpath.java:193)
at
org.postgresql.largeobject.LargeObject.<init>(LargeObject.java:89)
at
org.postgresql.largeobject.LargeObjectManager.open(LargeObjectManager.java:1
33)
at org.postgresql.largeobject.PGblob.<init>(PGblob.java:37)
at org.postgresql.jdbc2.ResultSet.getBlob(ResultSet.java:934)
Thanks,
David
From | Date | Subject | |
---|---|---|---|
Next Message | Stephan Szabo | 2002-09-10 01:05:00 | Re: problem with new autocommit config parameter and jdbc |
Previous Message | Dave Cramer | 2002-09-09 23:23:00 | Re: compile of jdbc driver failed - jdk 1.4.0_01 |