com.partnersoft.v3x.io.sql
Class DataRecordSourceToDatabaseTable
java.lang.Object
com.partnersoft.v3x.io.sql.DataRecordSourceToDatabaseTable
public class DataRecordSourceToDatabaseTable
- extends java.lang.Object
Copies the contents of a DataRecordSource to a database table.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataRecordSourceToDatabaseTable
public DataRecordSourceToDatabaseTable()
initialize
public void initialize()
throws java.io.IOException,
java.sql.SQLException
- Run this before the first upload. Sets up some things and creates the
table.
- Throws:
java.io.IOException
java.sql.SQLException
upload
public void upload()
throws java.io.IOException,
java.sql.SQLException
- Throws:
java.io.IOException
java.sql.SQLException
close
public void close()
throws java.io.IOException,
java.sql.SQLException
- Run this after the last upload.
- Throws:
java.io.IOException
java.sql.SQLException
getSource
public DataRecordSource getSource()
setSource
public void setSource(DataRecordSource newSource)
getDatabaseConnection
public DatabaseConnectionConfig getDatabaseConnection()
setDatabaseConnection
public void setDatabaseConnection(DatabaseConnectionConfig newDatabaseConnection)
getTableName
public java.lang.String getTableName()
setTableName
public void setTableName(java.lang.String newTableName)
main
public static void main(java.lang.String[] argv)