com.partnersoft.v3x.io.sql
Class DatabaseMirror
java.lang.Object
com.partnersoft.v3x.io.sql.DatabaseMirror
public class DatabaseMirror
- extends java.lang.Object
A thread that runs queries on one database and uses them to populate another.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatabaseMirror
public DatabaseMirror()
main
public static void main(java.lang.String[] argv)
copy
public void copy()
- Copies all tables from the source to the destination.
getSourceDatabase
public DatabaseConnectionConfig getSourceDatabase()
setSourceDatabase
public void setSourceDatabase(DatabaseConnectionConfig newDatabase)
getDestinationDatabase
public DatabaseConnectionConfig getDestinationDatabase()
setDestinationDatabase
public void setDestinationDatabase(DatabaseConnectionConfig newDatabase)
getBatchLength
public int getBatchLength()
setBatchLength
public void setBatchLength(int newLength)
getTables
public java.util.Map getTables()
setTables
public void setTables(java.util.Map newTables)
isHssql
public boolean isHssql()
setHssql
public void setHssql(boolean tizit)