|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.taskdefs.SQLExec.Transaction
public class SQLExec.Transaction
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 Summary | |
---|---|
SQLExec.Transaction()
|
Method Summary | |
---|---|
void |
addConfigured(ResourceCollection a)
Set the source resource. |
void |
addText(java.lang.String sql)
Set inline text |
void |
setSrc(java.io.File src)
Set the source file attribute. |
void |
setSrcResource(Resource src)
Set the source resource attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SQLExec.Transaction()
Method Detail |
---|
public void setSrc(java.io.File src)
src
- the source filepublic void setSrcResource(Resource src)
src
- the source filepublic void addText(java.lang.String sql)
sql
- the inline textpublic void addConfigured(ResourceCollection a)
a
- the source resource collection.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |