Hi Thomas,
> 1. How do I retrieve the data of all tables (IDatabaseInfo[])
> contained in
> the user view
> of the current session.
mySession.getSQLConnection().getSQLMetaData().getTables(catalog,
schemaPattern, tableNamePattern, types);
> 2. How do I add an ISQLExecutionListener to the session.
> (previous Release and current CVS: addSQLExecutionListener())
mySession.getSQLPanelAPI(plugin).addSQLExecutionListener(lis);
> 3. How do I retrieve the data of a table (IDatabaseInfo) from the
> objecttree using the tablename.
See the answer to 1 above.
--
Colin Bell
http://squirrel-sql.sf.net
----- Original Message -----
From: Thomas Kiebel <ki...@ma...>
Date: Tuesday, July 22, 2003 9:04 pm
Subject: [Squirrel-sql-develop] Table Meta Data Access
> Hello,
>
> I currently work on a plugin for Squirrel_SQL based on the 1.1final1.
> I'm having problems using the ISession interfaces. Could someone
> help and
> tell me:
>
> 1. How do I retrieve the data of all tables (IDatabaseInfo[])
> contained in
> the user view
> of the current session.
>
> 2. How do I add an ISQLExecutionListener to the session.
> (previous Release and current CVS: addSQLExecutionListener())
>
> 3. How do I retrieve the data of a table (IDatabaseInfo) from the
> objecttree using the tablename.
>
> Thanks...
>
> Thomas
|