From: Mark Dzmura <mdz@phalanx.phalanx.net>
To: pgsql-interfaces@postgreSQL.org <pgsql-interfaces@postgreSQL.org>
Subject: JDBC query...
Date: Thu, 12 Aug 1999 23:18:35 +0000
Message-ID: <37B3564B.C2F7CD0@phalanx.net> (raw)
Folks:
I would like to extend my (JDBC-using) software to be able to present the user with a list
of available databases from a chosen database server, to create new databases, and to
create new tables...
My reading of the JDBC 1.0 and 2.0 specs presents a picture of an API which seems to be
of a "read only" nature regarding database metadata - I can't find ways to create, delete, and
modify above the level of SQL queries against tables...
In that regard, my questions address both JDBC itself, and the Postgres JDBC driver implementation.
Regarding JDBC,
1. Is there an object of higher "scope" than the Connection object, which is bound to a specific
database??
2. Is there a Database object, which provides methods to create, destroy, and modify the schemas
of tables ?? Or can I do SQL "CREATE TABLE" and "DROP TABLE" operations using some
version of Statement which doesn't return a ResultSet ??
Finally, at what level does the Postgres JDBC driver support JDBC (regarding my questions and
in general) ??
Thanks,
Mark Dzmura
--
)))) This email routed via a wireless gateway!! ((((
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: mdz@phalanx.phalanx.net
Subject: Re: JDBC query...
In-Reply-To: <37B3564B.C2F7CD0@phalanx.net>
* 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