| java.lang.Object org.apache.ojb.broker.ant.Command org.apache.ojb.broker.ant.WriteDataToDatabaseCommand
WriteDataToDatabaseCommand | public class WriteDataToDatabaseCommand extends Command (Code) | | Command for inserting data XML defined in terms of the repository, into a database.
author: Thomas Dudziak version: $Revision: 1.1.2.2 $ |
addConfiguredFileset | public void addConfiguredFileset(FileSet fileset)(Code) | | Adds a fileset.
Parameters: fileset - The additional input files |
setBatchSize | public void setBatchSize(int batchSize)(Code) | | Sets the maximum number of objects to insert in one batch.
Parameters: batchSize - The number of objects |
setDataFile | public void setDataFile(File dataFile)(Code) | | Set the xml data file.
Parameters: dataFile - The data file |
setUseBatchMode | public void setUseBatchMode(boolean useBatchMode)(Code) | | Specifies whether we shall be using batch mode.
Parameters: useBatchMode - true if we shall use batch mode |
|
|