Package org.apache.tools.ant.taskdefs
Class SQLExec.Transaction
java.lang.Object
org.apache.tools.ant.taskdefs.SQLExec.Transaction
- Enclosing class:
- SQLExec
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.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidSet the source resource.voidSet inline textvoidSet the source file attribute.voidsetSrcResource(Resource src) Set the source resource attribute.
- 
Constructor Details- 
Transactionpublic Transaction()
 
- 
- 
Method Details- 
setSrcSet the source file attribute.- Parameters:
- src- the source file
 
- 
setSrcResourceSet the source resource attribute.- Parameters:
- src- the source file
- Since:
- Ant 1.7
 
- 
addTextSet inline text- Parameters:
- sql- the inline text
 
- 
addConfiguredSet the source resource.- Parameters:
- a- the source resource collection.
- Since:
- Ant 1.7
 
 
-