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 4263F8B9D5B for ; Fri, 11 Feb 2005 09:35:05 +0000 (GMT) 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 67774-02 for ; Fri, 11 Feb 2005 09:34:55 +0000 (GMT) Received: from mallaury.noc.nerim.net (smtp-105-friday.noc.nerim.net [62.4.17.105]) by svr1.postgresql.org (Postfix) with ESMTP id 465E38BA10A for ; Fri, 11 Feb 2005 09:34:56 +0000 (GMT) Received: from [192.168.0.141] (secure.openpricer.com [80.65.224.34]) by mallaury.noc.nerim.net (Postfix) with ESMTP id C6AF162DE0; Fri, 11 Feb 2005 10:34:54 +0100 (CET) Message-ID: <420C7C36.9080701@free.fr> Date: Fri, 11 Feb 2005 10:34:46 +0100 From: "Xavier Poinsard" User-Agent: Debian Thunderbird 1.0 (X11/20050116) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Jurka Cc: pgsql-jdbc Subject: Re: Patch adding name for NotImplemented References: <420C71EE.5020004@free.fr> In-Reply-To: X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.051 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/77 X-Sequence-Number: 12257 Kris Jurka wrote: > > On Fri, 11 Feb 2005, Xavier Poinsard wrote: > > >>I had some time in the train, so here is a patch adding function name to >> notImplemented(). > > > It seems reather inconsistent, it uses all of the following description > types: > - Blob.truncate > - setBinaryStream > - getArray With Map > - fetch(ResultCursor, ResultHandler, int) Yes, I changed my mind during the process. I will try to clear some issues. One problem is that the Exception is sometime used not for an entire function but only when the function is used with a particular argument. Other functions with same names are only implement with some sets of arguments. Would you prefer the full version : Interface.functionname(type1,type2) ? > > These need to be consistent. Also some of the claims are inaccurate, for > example Statement.setURL, Statement.getURL are actually from > PreparedStatement and CallableStatement respectively. It will require additional work since I will have to look not only in the code. > > Finally this patch doesn't actually have a change to Driver.notImplemented > to make it work. Oops, I missed Driver.java.in. > > Kris Jurka > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly >