org.apache.tools.ant.taskdefs
Class SQLExec.Transaction
java.lang.Object
org.apache.tools.ant.taskdefs.SQLExec.Transaction
- SQLExec
public class SQLExec.Transaction
extends java.lang.Object
Contains the definition of a new transaction element.
Transactions allow several files or blocks of statements
to be executed using the same JDBC connection and commit
operation in between.
addConfigured
public void addConfigured(ResourceCollection a)
Set the source resource.
a
- the source resource collection.
addText
public void addText(String sql)
Set inline text
setSrc
public void setSrc(File src)
Set the source file attribute.
setSrcResource
public void setSrcResource(Resource src)
Set the source resource attribute.