org.kuali.db
Class Transaction
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Transaction
public Transaction()
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.