I think streaming into postgres only works with the "Fasttrack" API.
Have a look at the postgres JDBC doc - there are a few examples how
to do it and I played around with it a while ago and it worked well.
I think you have to downcast the statment and then there is a large
object API.
As far as I remember, the methods on statement dealing with streams
are not implemented - have a look at the source.
Cheers,
Robert.
> -----Original Message-----
> From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 08, 2001 8:57
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: [JBoss-user] Re: JAWS: Is this a bug, or is there another
> rational
>
>
> Hi Chris,
>
> On Tue, 8 May 2001 08:32, you wrote:
> > method on its home interface. When JBoss attempts to
> insert a row into
> > the database for this new bean instance, it calls
> > PreparedStatement.setBinaryStream() for a column and the JDBC driver
> > throws an exception saying that 'InputStream as parameter not
>
> I think you'll find this might be to do with the Postgres
> JDBC driver. I'm
> not sure, but I have found several areas where the driver
> isn't fully flushed
> out. I'd try writing a straight JDBC insert that uses the
> setBinaryStream()
> method.
>
> Apologies if I'm wrong here.
>
> cheers
> dim
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user