pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jesper Zacho <Jesper.Zacho@wise.dk>
To: pgsql-interfaces@postgresql.org
Cc: jesper.zacho@wise.dk
Subject: VS: [INTERFACES] JDBC JAVA Stream support for Large Object
Date: Wed, 1 Mar 2000 09:30:02 +0100
Message-ID: <NDBBJOGPLKJHBADJDLBHKELKDOAA.Jesper.Zacho@wise.dk> (raw)

Hi

I'm building an Ecommerce application as a Servlet, and my Client want me to
replace DB2 with PostgreSQL instead. This is a good idea if you ask me, but
I need to have Large Object support working to be able to do the
replacement.

Now I have a Linux (Suse) server running the RDBMS (Ver 6.5.1), and access
the server using JDBC (driver version is 6.5 for Java 1.x) on my
test-web-server. I get the following exception when trying to set the binary
stream on the statement :

Exception caught : This method is not yet implemented.
This method is not yet implemented.
	java.lang.Throwable()
	java.lang.Exception()
	java.sql.SQLException()
	postgresql.util.PSQLException(java.lang.String)
	java.sql.SQLException postgresql.Driver.notImplemented()
	void postgresql.jdbc1.PreparedStatement.setBinaryStream(int,
java.io.InputStream, int)
	void jdbctest.LargeObject.testLargeObjects(java.sql.Connection)
	void jdbctest.LargeObject.doIt()
	void jdbctest.LargeObject.main(java.lang.String [])

The situation is the same if I write the example from the JDBC Interface
chapter in the Programmer's Guide.

Is Java Streams supported for Large Objects using the JDBC Driver ?

Regards

Jesper Zacho
HiQ Wise A/S

Tlf:  +45 43 46 00 10
Mobil: +45 22 62 48 51
E-mail : Jesper.Zacho@wise.dk

Attachments:

  winmail.dat (application/ms-tnef, 9.1K) download

Message-ID: <NDBBJOGPLKJHBADJDLBHKELKDOAA.Jesper.Zacho@wise.dk>
Permalink:  ../NDBBJOGPLKJHBADJDLBHKELKDOAA.Jesper.Zacho@wise.dk/
Also on:    postgresql.org/message-id/NDBBJOGPLKJHBADJDLBHKELKDOAA.Jesper.Zacho@wise.dk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: Jesper.Zacho@wise.dk
  Subject: Re: VS: [INTERFACES] JDBC JAVA Stream support for Large Object
  In-Reply-To: <NDBBJOGPLKJHBADJDLBHKELKDOAA.Jesper.Zacho@wise.dk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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