org.codehaus.mojo.sql
Class SqlExecMojo.Transaction
java.lang.Object
org.codehaus.mojo.sql.SqlExecMojo.Transaction
- All Implemented Interfaces:
- Comparable<SqlExecMojo.Transaction>
- Enclosing class:
- SqlExecMojo
private class SqlExecMojo.Transaction
- extends Object
- implements Comparable<SqlExecMojo.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.
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
SqlExecMojo.Transaction
private SqlExecMojo.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
compareTo
public int compareTo(SqlExecMojo.Transaction transaction)
- Specified by:
compareTo
in interface Comparable<SqlExecMojo.Transaction>
Copyright © 2006-2011 The Kuali Foundation. All Rights Reserved.