- invalid or close trx name to DB.prepareStatement will create orphan transaction in system
This commit is contained in:
parent
64021ec448
commit
3cb217bb60
|
@ -56,7 +56,7 @@ public class PreparedStatementProxy extends StatementProxy {
|
|||
try {
|
||||
Connection conn = null;
|
||||
Trx trx = p_vo.getTrxName() == null ? null : Trx.get(p_vo
|
||||
.getTrxName(), true);
|
||||
.getTrxName(), false);
|
||||
if (trx != null) {
|
||||
conn = trx.getConnection();
|
||||
} else {
|
||||
|
|
|
@ -113,7 +113,7 @@ public class StatementProxy implements InvocationHandler {
|
|||
try
|
||||
{
|
||||
Connection conn = null;
|
||||
Trx trx = p_vo.getTrxName() == null ? null : Trx.get(p_vo.getTrxName(), true);
|
||||
Trx trx = p_vo.getTrxName() == null ? null : Trx.get(p_vo.getTrxName(), false);
|
||||
if (trx != null)
|
||||
{
|
||||
conn = trx.getConnection();
|
||||
|
|
Loading…
Reference in New Issue