X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 2640DD9011 for ; Mon, 21 Nov 2005 00:30:20 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 38775-10 for ; Mon, 21 Nov 2005 04:30:18 +0000 (GMT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.197]) by svr1.postgresql.org (Postfix) with ESMTP id 6975AD8F9C for ; Mon, 21 Nov 2005 00:30:17 -0400 (AST) Received: by zproxy.gmail.com with SMTP id 13so683349nzn for ; Sun, 20 Nov 2005 20:30:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:cc:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=ckrPi68XZcjVWT68097uj3AKuxtbtjjJWXZjwS0kq3zpFGA26cw6dhrGjqhuYEG2fCoVDc0KmPEtCTxxZAx7v09SzREJR7m5WqVFaXNx5ho5nbAd5jr2agYo8+bV0UDEY1kAGiBw4q/uCoFA4jeEhuospkqwleHsZVFaiDSorec= Received: by 10.36.71.15 with SMTP id t15mr2677131nza; Sun, 20 Nov 2005 20:30:16 -0800 (PST) Received: from tirza.domain ( [222.124.237.24]) by mx.gmail.com with ESMTP id c12sm1129686nzc.2005.11.20.20.30.11; Sun, 20 Nov 2005 20:30:16 -0800 (PST) From: Tjioe Ai Xin To: Kris Jurka Subject: Re: Problem when upgrade PostgreSQL 7.3.3 to PostgreSQL 8.0.3 Date: Mon, 21 Nov 2005 11:39:15 +0700 User-Agent: KMail/1.8 References: <200511180902.56997.xinxincute@gmail.com> In-Reply-To: Cc: pgsql-jdbc@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511211139.15701.xinxincute@gmail.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200511/129 X-Sequence-Number: 14227 Dear Kris, Thank you for your answer. It helps me a lot. Best Regards, Xin Xin On Saturday 19 November 2005 01:25, you wrote: > > On Fri, 18 Nov 2005, Tjioe Ai Xin wrote: > > > I have web application which is run using PostgreSQL 7.3.3 and JDBC > > Driver pg3jdbc3.jar. But when I try to update to PostgreSQL 8.0.3 and > > using JDBC Driver postgresql-8.0-314.jdbc3.jar, I got error messages: > > > 1. Cannot change transaction isolation level in the middle of a transaction. > > --> Does changing transaction isolation level in the middle of a > > transaction no longer supported? > > This was never supported, but simply did not report the error in the past. > Transaction isolation must be set before the first statement of the > transaction is executed. The server must know in advance what type of > snapshot it must take when the transaction starts. It cannot go back and > time and retake it if the isolation level changes mid-transaction. > > > 2. ERROR: operator does not exist: bigint / character varying > > --> I don't understand this error message because all my query > > statements runs well in the shell. > > But when I call my query statement, I got the message. > > I'm guessing you are using PreparedStatement.setString for a numeric > value. Do you have a query like "WHERE colname / ? " ? You need to use a > different setXXX method that takes a numeric value. > > Kris Jurka >