Re: Connection.setBytes() - Mailing list pgsql-interfaces

From ChristophSchmidt
Subject Re: Connection.setBytes()
Date
Msg-id 00071821334800.00719@nasen2
Whole thread Raw
In response to Re: Connection.setBytes()  (Joachim Achtzehnter <joachim@kraut.bc.ca>)
Responses Re: Connection.setBytes()
List pgsql-interfaces
Am Die, 18 Jul 2000 schrieben Sie:
> On Tue, 18 Jul 2000, Matt Fair wrote:
> >
> > I want to set an array of bytes to a prepared statement, but it throws a
> > null pointer exception.
> 
> Did you turn off autocommit? BLOB code must run in the context of a
> transaction. I believe autocommit defaults to true, so you must explicitly
> set it to false and call commit at the end of your transactions.
> 
> Joachim

Hi, 
where is the point to turn autocommit off ? 
(how do you turn it off )
I am new to PREPARED STATEMENT...
Where can i find the documentation ? 
How much more efficient is it ?
Is it similar to stored procedures/functions ? 

cs


pgsql-interfaces by date:

Previous
From: Matt Fair
Date:
Subject: Re: Connection.setBytes()
Next
From: Joachim Achtzehnter
Date:
Subject: Re: Connection.setBytes()