X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id B9E159FB2E5 for ; Thu, 21 Sep 2006 18:34:12 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 90418-08 for ; Thu, 21 Sep 2006 21:34:04 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from kjeld.care4all.dk (cpe.atm2-0-52453.0x50a4a22a.esnxx3.customer.tele.dk [80.164.162.42]) by postgresql.org (Postfix) with ESMTP id 5ADFA9FB2D7 for ; Thu, 21 Sep 2006 18:34:04 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by kjeld.care4all.dk (Postfix) with ESMTP id BC57A420342; Thu, 21 Sep 2006 23:33:56 +0200 (CEST) Received: from kjeld.care4all.dk ([127.0.0.1]) by localhost (kjeld.care4all.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27593-07; Thu, 21 Sep 2006 23:33:49 +0200 (CEST) Received: from [172.19.10.10] (x1-6-00-80-c8-03-a6-d7.k438.webspeed.dk [83.89.23.114]) by kjeld.care4all.dk (Postfix) with ESMTP; Thu, 21 Sep 2006 23:33:47 +0200 (CEST) Message-ID: <45130543.7080609@pbnet.dk> Date: Thu, 21 Sep 2006 23:33:55 +0200 From: =?ISO-8859-1?Q?Poul_M=F8ller_Hansen?= User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Oliver Jowett CC: pgsql-jdbc@postgresql.org Subject: Re: CachedRowSetXImpl() and PostgreSQL References: <45129B84.9000208@pbnet.dk> <4512EB32.5080302@pbnet.dk> <4512ED36.70600@opencloud.com> <4512F6EB.8000701@pbnet.dk> <451300BA.7030903@opencloud.com> In-Reply-To: <451300BA.7030903@opencloud.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-2.3.3 (20050822) (Debian) at care4all.dk X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.204 tagged_above=0 required=5 tests=FORGED_RCVD_HELO, SPF_NEUTRAL X-Spam-Level: * X-Archive-Number: 200609/85 X-Sequence-Number: 15803 > What we need to know is what is the metadata call being made to the > driver and how do the results differ from what is expected? > That's pretty much hidden behind the curtains in the Java classes. How can I log that ? > BTW, it's possible to have a table called "my.table" (where "my." is > part of the table name, not a schema prefix) so the driver seems to be > doing the right thing if it is being asked about tables called > "my.table" by the RowSet .. But that's why we need to know what > metadata call is being made. > my is the schema name. I have tried 3 setups: 1. setting setTableName("my.table"); 2. setTableName("table"); 3. setSchemaName("my"); setTableName("table"); And none of them works. When getting the metadata from pg_catalog the schema name must be left out and when doing update the schema name must be included or it can't find the relation. It's like the setSchemaName has no effect > I think finding out why setSchemaName on your rowset does not work is > the first step, that RuntimeException tells me nothing about the real > cause of the problem. Exactly, but I'm clueless how. Poul