pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ChristophSchmidt <cs.hilzingen@swol.de>
To: Joachim Achtzehnter <joachim@kraut.bc.ca>
To: pgsql-interfaces@postgresql.org
Subject: Re: Connection.setBytes()
Date: Tue, 18 Jul 2000 21:32:31 +0200
Message-ID: <00071821334800.00719@nasen2> (raw)
References: <Pine.WNT.4.21.0007181149250.131-100000@van4>

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



view thread (12+ messages)  latest in thread

Message-ID: <00071821334800.00719@nasen2>
Permalink:  ../00071821334800.00719@nasen2/
Also on:    postgresql.org/message-id/00071821334800.00719@nasen2

 · 

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: cs.hilzingen@swol.de, joachim@kraut.bc.ca
  Subject: Re: Connection.setBytes()
  In-Reply-To: <00071821334800.00719@nasen2>

* 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