next up previous contents index
Next: Parameters specified as nested Up: Sql Previous: Description   Contents   Index

Parameters

Attribute Description Required
driver Class name of the jdbc driver Yes
url Database connection url Yes
userid Database user name Yes
password Database password Yes
src File containing SQL statements Yes, unless statements enclosed within tags
encoding The encoding of the files containing SQL statements No - defaults to default JVM encoding
delimiter String that separates SQL statements No, default ";"
autocommit Auto commit flag for database connection (default false) No, default "false"
print Print result sets from the statements (default false) No, default "false"
showheaders Print headers for result sets from the statements (default true) No, default "true"
output Output file for result sets (defaults to System.out) No (print to System.out by default)
append whether output should be appended to or overwrite an existing file. Defaults to false. No
classpath Classpath used to load driver No (use system classpath)
classpathref The classpath to use, given as a reference to a path defined elsewhere. No (use system classpath)
onerror Action to perform when statement fails: continue, stop, abort No, default "abort"
rdbms Execute task only if this rdbms No (no restriction)
version Execute task only if rdbms version match No (no restriction)
caching Should the task cache loaders and the driver? No (default=true)


next up previous contents index
Next: Parameters specified as nested Up: Sql Previous: Description   Contents   Index
Andrew Marlow 2003-07-08