org.kuali.db
Class Transaction

java.lang.Object
  extended by org.kuali.db.Transaction

public class 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.


Constructor Summary
Transaction()
           
 
Method Summary
 void addText(String sql)
           
 String getDescription()
           
 String getEncoding()
           
 Reader getReader()
           
protected  Reader getReader(InputStream in)
           
 String getResourceLocation()
           
 String getSqlCommand()
           
 void setDescription(String description)
           
 void setEncoding(String encoding)
           
 void setResourceLocation(String resourceLocation)
           
 void setSqlCommand(String sqlCommand)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transaction

public Transaction()
Method Detail

addText

public void addText(String sql)

getReader

public Reader getReader()
                 throws IOException
Throws:
IOException

getReader

protected Reader getReader(InputStream in)
                    throws IOException
Throws:
IOException

getResourceLocation

public String getResourceLocation()

setResourceLocation

public void setResourceLocation(String resourceLocation)

getSqlCommand

public String getSqlCommand()

setSqlCommand

public void setSqlCommand(String sqlCommand)

getEncoding

public String getEncoding()

setEncoding

public void setEncoding(String encoding)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)


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