From: ChristophSchmidt <cs.hilzingen@swol.de>
To: Joachim Achtzehnter <joachim@kraut.bc.ca>
To: pgsql-novice@postgresql.org
Subject: Re: [INTERFACES] Connection.setBytes()
Date: Tue, 18 Jul 2000 21:06:06 +0200
Message-ID: <00071821101000.00418@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
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, pgsql-novice@postgresql.org
Subject: Re: [INTERFACES] Connection.setBytes()
In-Reply-To: <00071821101000.00418@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