org.apache.torque.task
Class TorqueSQLExec.Transaction
java.lang.Object
org.apache.torque.task.TorqueSQLExec.Transaction
- Enclosing class:
- TorqueSQLExec
public class TorqueSQLExec.Transaction
- extends 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tSrcFile
private File tSrcFile
tSqlCommand
private String tSqlCommand
TorqueSQLExec.Transaction
public TorqueSQLExec.Transaction()
setSrc
public void setSrc(File src)
addText
public void addText(String sql)
runTransaction
private void runTransaction(PrintStream out)
throws IOException,
SQLException
- Throws:
IOException
SQLException
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.