org.codehaus.mojo.sql
Class SqlExecMojo.Transaction

java.lang.Object
  extended by org.codehaus.mojo.sql.SqlExecMojo.Transaction
All Implemented Interfaces:
Comparable<SqlExecMojo.Transaction>
Enclosing class:
SqlExecMojo

protected 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.


Field Summary
protected  org.springframework.core.io.Resource resource
           
protected  String tSqlCommand
           
protected  File tSrcFile
           
 
Constructor Summary
protected SqlExecMojo.Transaction()
           
 
Method Summary
 void addText(String sql)
           
 int compareTo(SqlExecMojo.Transaction transaction)
           
 void setResource(org.springframework.core.io.Resource resource)
           
 void setSrc(File src)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resource

protected org.springframework.core.io.Resource resource

tSrcFile

protected File tSrcFile

tSqlCommand

protected String tSqlCommand
Constructor Detail

SqlExecMojo.Transaction

protected SqlExecMojo.Transaction()
Method Detail

setResource

public void setResource(org.springframework.core.io.Resource resource)

setSrc

public void setSrc(File src)

addText

public void addText(String sql)

compareTo

public int compareTo(SqlExecMojo.Transaction transaction)
Specified by:
compareTo in interface Comparable<SqlExecMojo.Transaction>


Copyright © 2006-2012 The Kuali Foundation. All Rights Reserved.