Thank you for your remark. But we're talking about SQL statements (and not
JDBC statements), aren't we? I have not found anything as yet which would
indicate that the JDBC API significantly redefined the meaning of the term
"statement" compared to what had been known as SQL statement well before
JDBC appeared. And in this regard (i.e. to clarify what has/had been meant
by "SQL statement"), the SQL spec seemed to me a good starting point,
although anecdotical evidence can, of course, also be used, if you can
Your remark is correct, if you mean that the JDBC API does not explicitely
restricts you from putting in your SQL statement anything you wish. But
(provided I understand the big picture) JDBC has been designed for a very
specific kind of resource managers: database servers communicating with
their clients via SQL statements. There exists a specification for a very
generic JAVA resource adapter, which explicitely allows you to put over the
wire anything you wish (actually, anything the resource manager it is
intended for understands). But this generic resource adapter is called
Connector, and not JDBC driver. So if you want to interpret liberally the
API between the server and the client, the postgres java client classes (in
what is now called JDBC driver) should implement the "connector" interfaces
rather than the "sql" interfaces.
And as to the whereabouts of the JDBC API spec, a good place to look for it
is www.java.sun.com .
----- Original Message -----
From: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Peter Kovacs" <peter(dot)kovacs(at)sysdata(dot)siemens(dot)hu>
Cc: "Barry Lind" <barry(at)xythos(dot)com>; "Dmitry Tkach"
Sent: Saturday, September 28, 2002 6:25 PM
Subject: Re: [JDBC] [GENERAL] Prepared statement performance...
> "Peter Kovacs" <peter(dot)kovacs(at)sysdata(dot)siemens(dot)hu> writes:
> > ... but the SQL 92 spec should be, of course, the
> > ultimate authority in this regard.
> The SQL spec has never heard of JDBC. I assume there is a spec
> somewhere for the JDBC API, but it's not SQL92 nor SQL99.
> regards, tom lane
In response to
pgsql-jdbc by date
|Next:||From: jonerf1||Date: 2002-09-28 20:04:48|
|Subject: connecting from openoffice|
|Previous:||From: Tom Lane||Date: 2002-09-28 16:25:54|
|Subject: Re: [JDBC] Prepared statement performance... |
pgsql-general by date
|Next:||From: Marc G. Fournier||Date: 2002-09-28 20:19:15|
|Subject: Re: Contribution Problems...|
|Previous:||From: Marc G. Fournier||Date: 2002-09-28 17:09:12|
|Subject: Beta2 - A Late Announcement|