public class TransactionTag extends TransactionTagSupport
<transaction>
using the container's EL implementation.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 |
release() |
void |
setDataSource(String expression) |
void |
setIsolation(String expression)
Setter method for the transaction isolation level.
|
doCatch, doEndTag, doFinally, getSharedConnection
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
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class TransactionTagSupport
public void setDataSource(String expression)
public void setIsolation(String expression)
TransactionTagSupport
setIsolation
in class TransactionTagSupport
Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.