Re: [INTERFACES] JBuilder QueryDataSet: Can't browse tables in Query Editor

From: Pierre Habraken <Pierre(dot)Habraken(at)ujf-grenoble(dot)fr>
To: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] JBuilder QueryDataSet: Can't browse tables in Query Editor
Date: 1998-04-02 15:07:10
Message-ID: 3523A99E.6AE83EDD@ujf-grenoble.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

I tried again with the JDBC driver which comes with the release 6.3.1,
but the behavior described below is the same as with release 6.3.

BTW: With example/psql, I can create a new table, select columns in an
existing table, but I can not insert new tuples, where I can do it with
the regular psql interactive interface to PostgreSql on host 'host':

local psql:
----------
$ psql foo
Welcome to the POSTGRESQL interactive sql monitor:
Please read the file COPYRIGHT for copyright terms of POSTGRESQL

type \? for help on slash commands
type \q to quit
type \g or terminate with semicolon to execute query
You are currently connected to the database: foo

foo=> select * from bar;
chaine|entier
------+------
toto | 10
(1 row)

foo=> insert into bar values('titi', 99);
INSERT 18304 1
foo=> select * from bar;
chaine|entier
------+------
toto | 10
titi | 99
(2 rows)

foo=>

remote jdbc example/psql:
------------------------
$ java example/psql jdbc:postgresql://host/foo postgres postgres
PostgreSQL psql example v6.3 rev 1

Connecting to Database URL = jdbc:postgresql://host/foo
Connected to PostgreSQL 6.3

[1] select * from bar;
chaine entier
toto 10
titi 99
[2] [2] insert into bar values('tata', 100);
[2] ERROR: parser: parse error at or near ""

[2] [2] ERROR: parser: parse error at or near ","

[2] [2]

!!!???

Pierre Habraken wrote:
>
> Playing with the JBuilder GUI, I am trying to set up an instance of the
> QueryDataSet component using the Query Editor.
> The targetted table resides within a remote PostgreSql database which
> JBuilder is connected to through the Postgres JDBC driver.
> Connecting the JBuilder IDE to the database using the Connection Editor
> was successful.
>
> Within the Query Editor, I performed the following steps:
> - bind the query to the relevant Database component: OK
> - push down the button 'Browse tables': this causes the message:
> ERROR: parser: parse error at or near ""
> to be displayed.
> This message is apparently reported by the JDBC driver. The PostgreSql
> server log file logs the same error message.
> - Then, manually entering a query, say: "select * from bar", and pushing
> down the button 'Test query' is successfully acknowledged, though the
> server reacts by logging the message:
> ERROR: t: Table does not exist.
>
> Any idea ?
> Thanks in advance (again) for any help.
> --
> ________________________________________________________________________
> Pierre HABRAKEN - mailto:Pierre(dot)Habraken(at)ujf-grenoble(dot)fr
> Tél: 04 76 51 48 87 - Fax: 04 76 51 45 63
> Université Joseph Fourier - Département Scientifique Universitaire
> Adresse postale : CAFIM/DSU BP53 38041 Grenoble Cedex 9
> ________________________________________________________________________

--
________________________________________________________________________
Pierre HABRAKEN - mailto:Pierre(dot)Habraken(at)ujf-grenoble(dot)fr
Tél: 04 76 51 48 87 - Fax: 04 76 51 45 63
Université Joseph Fourier - Département Scientifique Universitaire
Adresse postale : CAFIM/DSU BP53 38041 Grenoble Cedex 9
________________________________________________________________________

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter T Mount 1998-04-02 17:31:51 Re: [INTERFACES] JBuilder QueryDataSet: Can't browse tables in Query Editor
Previous Message Rudi Heitbaum 1998-04-02 12:52:52 Re: timestamp and MS Access 7.0