X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 915C4529B8 for ; Thu, 30 Jun 2005 21:51:13 -0300 (ADT) 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 69714-01 for ; Fri, 1 Jul 2005 00:51:04 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 69CA2529B4 for ; Thu, 30 Jun 2005 21:51:00 -0300 (ADT) Received: (qmail 7903 invoked from network); 1 Jul 2005 00:49:05 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (64.7.143.116) by net2.micro-automation.com with SMTP; 1 Jul 2005 00:49:05 -0000 In-Reply-To: <42C4889D.4050105@opencloud.com> References: <688EEEFD-78B1-4C09-8CE8-E17520725AA2@fastcrypt.com> <42C29F6D.4060001@opencloud.com> <1F04D083-97E3-4C00-8806-B107991AE27E@fastcrypt.com> <42C31F86.8050205@opencloud.com> <82606823-092A-4BFE-89C4-8ADCA730AC70@fastcrypt.com> <42C4889D.4050105@opencloud.com> Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: List Content-Transfer-Encoding: 7bit From: Dave Cramer Subject: Re: jdbc cts final diff for review Date: Thu, 30 Jun 2005 20:51:02 -0400 To: Oliver Jowett X-Mailer: Apple Mail (2.730) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.018 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/185 X-Sequence-Number: 13147 Did you read my reasons for the ugly if double, then float stuff ? On 30-Jun-05, at 8:04 PM, Oliver Jowett wrote: > Dave Cramer wrote: > > >> I've changed direction to an array >> > > Ok. What did you think about removing it entirely from the > parameterlist > level? It just seems like extra complexity that doesn't need to be > there.. I think it can be removed, however I think sooner than later we will be dealing with more complex parameters when stored procedures with real IN/OUT parms > > >> regarding the jdbc3 type conversion in registerOutParameter, an >> existing conversion (BIT to BOOLEAN) was there, do all of them >> need to >> be in jdbc2 ? >> > > BOOLEAN is only defined in JDBC3, so that conversion needs to be in > the > JDBC3 code or the driver won't build under JDBC2. > > All the others should be in JDBC2 code. > Done > >>>>> You seem to have reverted your earlier changes and put back the >>>>> types/* classes -- why? >>>>> >>>>> >>>> >>>> huh ? they should be in there in HEAD, I did remove the >>>> creation of an >>>> object, and went to static methods >>>> >>>> >> I moved them from to core/types, but they have always been there >> > > Oh, ok, your patch didn't show those renames. I also thought you'd > removed the types/ stuff earlier, guess I misread your commit :/ > > I still think they are redundant and should be entirely removed. We > can > do that afterwards though. If absolutely necessary, however I don't think setObject with a different type is in the critical path > > Why the repackaging? can't remember now. > > -O > >