Hi all,

maybe this one's been asked before but I've just found this list (if it's
archived & searchable someplace then let me know)

I just installed Postgres 7.0.3 the other day (Redhat 7.0) and was trying to
insert binary data into the DB via JDBC using the standard
PreparedStatement.setBinaryStream() method, but the JDBC driver wasn't
having any of it. Taking a look at the source code shows it as not being
implemented yet, at least in the drivers I have.

I didn't study the code in detail but it looked like there's stuff missing
in the Large Objects API too, so it may not even be possible to use that as
an alternative (I'd rather not anyway, but may have been able to make the
setBinaryStream method call into it behind the scenes to do the work)

Is there a workaround for this (or preferably a fix for the drivers!!) - or
does it work in pg6.5 as downgrading may be an option?



ps. posted a variation on this to the pgsql-bugs list the other day but
don't know if it got through - hopefully this one will. 

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to