public class TransactionTag extends TransactionTagSupport
dataSourceSpecified, rawDataSource
Constructor and Description |
---|
TransactionTag() |
Modifier and Type | Method and Description |
---|---|
int |
doStartTag()
Prepares for execution by setting the initial state, such as
getting the
Connection and preparing it for
the transaction. |
void |
setDataSource(Object dataSource)
Setter method for the SQL DataSource.
|
void |
setIsolation(String isolation)
Setter method for the Transaction Isolation level.
|
doCatch, doEndTag, doFinally, getSharedConnection, release
public void setDataSource(Object dataSource)
public void setIsolation(String isolation)
setIsolation
in class TransactionTagSupport
public int doStartTag() throws javax.servlet.jsp.JspException
TransactionTagSupport
Connection
and preparing it for
the transaction.doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class TransactionTagSupport
javax.servlet.jsp.JspException
Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.