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

Largeobjects and JDBC

From: johan(at)webgate(dot)se
To: pgsql-interfaces(at)hub(dot)org
Subject: Largeobjects and JDBC
Date: 1999-10-08 07:49:04
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces

I found docs on how to use largeobjects in java but I can't seem to 
get it working.

I've problem with the following code (basically the code I found on 
the Internet.

 try {
 ps = con.prepareStatement("insert into images values (?,?)");
 ps.setBinaryStream(2,fis,(int) fil.length());
 catch (SQLException sqle) {System.out.println("SQL: " + 
sqle.getMessage()); }

This code prints the following SQLException
SQL: This method is not yet implemented.

Im using the latest JDBC-driver (I think, I compiled it from 
postgresql-6.5.2 source).

Does anyone out there have a clue on what I'm doing wrong?


Johan Warman
Norling Education AB
Anders Karlssonsgata 7
417 55 Göteborg

Tel: 031-223159
Fax: 031-7792847
e-post: johan(at)webgate(dot)se
The mouse has been moved, please restart your
MS Windows for changes to take effect.

pgsql-interfaces by date

Next:From: Dave PageDate: 1999-10-08 08:47:55
Subject: RE: [INTERFACES] pgAdmin v6.5.2 Released
Previous:From: Constantin TeodorescuDate: 1999-10-08 06:43:48
Subject: Re: [INTERFACES] pgaccess: not found

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group