|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.exolab.jms.tools.db.RDBMSTool
This class provides support for creating and destroying tables in RDBMS databases.
| Constructor Summary | |
RDBMSTool(java.sql.Connection connection)
Construct a new RDBMSTool |
|
| Method Summary | |
void |
close()
Close the connection to the database |
void |
create(org.exolab.jms.tools.db.Database schema)
Creates the database |
void |
create(org.exolab.jms.tools.db.Table table)
Creates a table in the database |
void |
drop(org.exolab.jms.tools.db.Database schema)
Drops tables from the database |
void |
drop(org.exolab.jms.tools.db.Table table)
Drops a table from the database. |
SchemaBrowser |
getSchemaBrowser()
Returns the schema browser |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RDBMSTool(java.sql.Connection connection)
throws PersistenceException
RDBMSToolconnection - the JDBC connectionPersistenceException - if database meta-data can't be obtained| Method Detail |
public void create(org.exolab.jms.tools.db.Database schema)
throws PersistenceException
schema - the database schemaPersistenceException - if elements cannot be created in the
database
public void drop(org.exolab.jms.tools.db.Database schema)
throws PersistenceException
schema - the database schemaPersistenceException - if elements cannot be dropped from the
databasepublic void close()
public void create(org.exolab.jms.tools.db.Table table)
throws PersistenceException
table - the table to createPersistenceException - if the table exists, or cannot be created
public void drop(org.exolab.jms.tools.db.Table table)
throws PersistenceException
table - the table to dropPersistenceException - for any database errorpublic SchemaBrowser getSchemaBrowser()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||