org.webdocwf.util.loader.test
Class LoaderOperation
java.lang.Object
org.webdocwf.util.loader.test.DatabaseOperation
org.webdocwf.util.loader.test.LoaderOperation
public class LoaderOperation
- extends DatabaseOperation
Inserts data in tables using Loader.
- Version:
- $Revision: 1.2 $
- Author:
- Sinisa Milosevic
Method Summary |
void |
execute()
Executes this operation on the specified database using the Loader. |
void |
execute(java.sql.Connection conn)
Executes this operation on the specified database using the specified
connection to the database. |
java.lang.String |
getDatabaseOperationType()
Returns type of database operation |
void |
setLoader(Loader load)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoaderOperation
public LoaderOperation()
LoaderOperation
public LoaderOperation(Loader load)
setLoader
public void setLoader(Loader load)
execute
public void execute(java.sql.Connection conn)
throws java.sql.SQLException
- Executes this operation on the specified database using the specified
connection to the database.
- Specified by:
execute
in class DatabaseOperation
- Parameters:
conn
- the database connection.
- Throws:
java.sql.SQLException
execute
public void execute()
throws LoaderException
- Executes this operation on the specified database using the Loader.
- Throws:
LoaderException
getDatabaseOperationType
public java.lang.String getDatabaseOperationType()
- Returns type of database operation
- Specified by:
getDatabaseOperationType
in class DatabaseOperation
Copyright © 2002-2007 Together - the Workgroup. All Rights Reserved.