Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
conn_<%=cid%>.setAutoCommit(false);
stringBuffer.append(TEXT_39);
stringBuffer.append(cid);
stringBuffer.append(TEXT_40);
stringBuffer.append(setAutoCommit);
stringBuffer.append(TEXT_41);
//GDU : no setAutocommit(xx) if not needed (already xx)
stringBuffer.append(NL);
stringBuffer.append("//no setAutocommit if not needed (e.g. : already false + setAutocommit(false) ==> commits the changes and re-set the flag (J2SE)");
stringBuffer.append(NL);
stringBuffer.append("if (conn_" + cid + ".getAutoCommit() != " + (setAutoCommit?"true":"false") + "){" + NL);
stringBuffer.append(TEXT_39);
stringBuffer.append(cid);
stringBuffer.append(TEXT_40);
stringBuffer.append(setAutoCommit);
stringBuffer.append(TEXT_41);
stringBuffer.append("\t}");
stringBuffer.append(NL);
//end of changes