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 C070ED8A88 for ; Wed, 23 Nov 2005 15:24:24 -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 85160-09 for ; Wed, 23 Nov 2005 19:24:24 +0000 (GMT) X-Greylist: delayed 01:00:11.010272 by SQLgrey- Received: from correo.euskaltel.es (ektmail6mta1.euskaltel.es [212.55.8.90]) by svr1.postgresql.org (Postfix) with ESMTP id E5797D83EF for ; Wed, 23 Nov 2005 15:24:17 -0400 (AST) Received: from [192.168.1.65] ([212.142.202.156]) by ektmail6mta1.euskaltel.es (Sun Java System Messaging Server 6.2-3.03 (built Jun 27 2005)) with ESMTP id <0IQF00FPW73XP1M0@ektmail6mta1.euskaltel.es> for pgsql-jdbc@postgresql.org; Wed, 23 Nov 2005 19:23:57 +0100 (MET) Date: Wed, 23 Nov 2005 19:23:50 +0100 From: Andres Ledesma Subject: Re: Why is bool == java.sql.Types.BIT ?? In-reply-to: To: pgsql-jdbc@postgresql.org Message-id: <200511231923.50508.aledes@euskalnet.net> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-15 Content-transfer-encoding: 7BIT Content-disposition: inline References: User-Agent: KMail/1.7 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=3.251 required=5 tests=[DNS_FROM_RFC_ABUSE=0.479, DNS_FROM_RFC_POST=1.44, RCVD_IN_BL_SPAMCOP_NET=1.332] X-Spam-Score: 3.251 X-Spam-Level: *** X-Archive-Number: 200511/173 X-Sequence-Number: 14271 Hi Thomas : Long ago I had the same doubt. The reason is first versions of JBDC associated the Types.BIT to the boolean of SQL, and is keeped this way for compatibility reasons, I think. - Andres Ledesma =================