From: Poul Møller Hansen <freebsd@pbnet.dk>
To: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: CachedRowSetXImpl() and PostgreSQL
Date: Thu, 21 Sep 2006 23:33:55 +0200
Message-ID: <45130543.7080609@pbnet.dk> (raw)
In-Reply-To: <451300BA.7030903@opencloud.com>
References: <45129B84.9000208@pbnet.dk>
<4512EB32.5080302@pbnet.dk>
<4512ED36.70600@opencloud.com>
<4512F6EB.8000701@pbnet.dk>
<451300BA.7030903@opencloud.com>
> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: freebsd@pbnet.dk, oliver@opencloud.com
Subject: Re: CachedRowSetXImpl() and PostgreSQL
In-Reply-To: <45130543.7080609@pbnet.dk>
References: <45129B84.9000208@pbnet.dk> <4512EB32.5080302@pbnet.dk> <4512ED36.70600@opencloud.com> <4512F6EB.8000701@pbnet.dk> <451300BA.7030903@opencloud.com> <45130543.7080609@pbnet.dk>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox