Thread: Large Object exceptions

Large Object exceptions

From
Mark "Lillywhite (pg-jdbc)"
Date:
JDBCsters,

Just was looking at the code for BLOBs (setInputStream, etc) and noticed
that while they appear to be supported, but that the exception it throws
when an IOException occurs is misleading. This message says that
"InputStream as parameter not supported", but in fact it should at best
give the name of the exception that actually occurred, and at worst
indicate that it's some problem other than an unsupported problem.

I think the error message itself is redundant and probably needs
changing, but I'm not hacking the code atm, just browsing.

Now to work out where my IOException is coming from...

Regards
Mark