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