Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 52847 invoked from network); 29 Aug 2004 19:23:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 29 Aug 2004 19:23:29 -0000 Received: (qmail 63771 invoked by uid 500); 29 Aug 2004 19:23:29 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 63696 invoked by uid 500); 29 Aug 2004 19:23:28 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: List-Id: "Derby Development" Reply-To: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 63685 invoked by uid 99); 29 Aug 2004 19:23:28 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [62.24.64.34] (HELO smtp.dkm.cz) (62.24.64.34) by apache.org (qpsmtpd/0.27.1) with SMTP; Sun, 29 Aug 2004 12:23:27 -0700 Received: (qmail 56257 invoked by uid 0); 29 Aug 2004 19:23:23 -0000 Received: from lin.code.cz (HELO ?192.168.0.2?) (62.245.69.249) by smtp.dkm.cz with SMTP; 29 Aug 2004 19:23:23 -0000 Message-ID: <41322D6D.90909@code.cz> Date: Sun, 29 Aug 2004 21:24:29 +0200 From: =?ISO-8859-1?Q?Jan_Hlavat=FD?= User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Derby Development Subject: Re: Rollbacks References: <000901c48d8c$d584bb00$6501a8c0@brianxp> <6.0.0.22.2.20040829001307.03148d68@pop.rcn.com> In-Reply-To: <6.0.0.22.2.20040829001307.03148d68@pop.rcn.com> X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jeffrey Lichtman wrote: |> Does Derby support rollbacks? And, if not, does anyone have any You may be hit by the fact that JDBC connection has autocommit on by default, so rollback does not seem to work (bacause commit() is called automatically after each statement, so theres nothing to rollback). Turn it off using Connection.setAutoCommit(false) and cuse commit() and rollback(). Jan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQEVAwUBQTItbXFDePgyse5HAQLlNAf+J1hi+mofgvpbSawVLXdpDKddh/KFdJmG HT2LapD+etQDpFPGO8G7PJmBXgEaWUqZovizmqvAew8Fo5VF9rATtqitFVGFbCW8 rjItI6DOpzeUh/7mFa2rPSEGIUhCu9Lvo6K61ZCl0ggcbTtXXeKx/H0jjqrfH9oJ /NHvsdqNprN2xHaBwKmUZBQJ6GxJ9gr1ly6sKbkLJ/HNxdT1xpoApqEuEJi7fL0w EwHqb9VrT9nRlqmUkvLO4a5WPCOLMK2EzlrZFHuLunuuc5DaP1vGW+dvS4KXaRPn t93seH4JjTLElPLIxxDhxvy1Bh3umXFyTdzDu7Z3HRobsYoV0brLGw== =9iAz -----END PGP SIGNATURE-----