PreparedStatement pstmt = DB.prepareStatement(GET_SPG_BY_CODE, trxName);
ResultSet rs = null;
try {
pstmt.setString(1, spgcode);
rs = pstmt.executeQuery();
if (rs.next()){
retValue = new MSPG(ctx, rs, trxName);
}
} catch (Exception e) {
StringWriter errors = new StringWriter();
e.printStackTrace(new PrintWriter(errors));
sLog.severe("MSMISGMSPG : "+errors.toString());
} finally {
DB.close(rs, pstmt);
rs = null;
pstmt = null;
}
final String whereClause = "ID=? AND IsActive = 'Y'";
retValue=new Query(ctx, Table_Name, whereClause, trxName)
.setParameters(ID)
.first();--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/d20f3f11-880d-461d-abe2-13c3f7ebf6ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
from that link, there is 3 active transaction while only 2 active transaction in detail. is that difference is the problem? or the fact that 1 active transaction is missing?
what if i don't specify trxname (trxname = null) is that what causing the active transaction without detail?
Regards,
Rudy