com.partnersoft.io.sql
Class DatabaseCopyTool
java.lang.Object
com.partnersoft.io.sql.DatabaseCopyTool
public class DatabaseCopyTool
- extends java.lang.Object
A tool that attempts to make a copy of a database, potentially from one type of
database to another.
Copyright 2001-2007 Partner Software, Inc.
- Version:
- $Id$
- Author:
- Paul Reavis
|
Method Summary |
void |
copy()
Copies all tables from the source to the destination. |
void |
copyTable(java.lang.String tableName,
java.lang.String query)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatabaseCopyTool
public DatabaseCopyTool(DatabaseConnection source,
DatabaseConnection destination)
DatabaseCopyTool
public DatabaseCopyTool(DatabaseConnection source,
DatabaseConnection destination,
Naming tables)
copy
public void copy()
throws java.sql.SQLException
- Copies all tables from the source to the destination.
- Throws:
java.sql.SQLException
copyTable
public void copyTable(java.lang.String tableName,
java.lang.String query)
throws java.sql.SQLException
- Throws:
java.sql.SQLException