Using Sybase JDBC Driver to get Connection CONN, use conn.setautocommit (b), B), B), B is the same TRUE | FALSE, error SET Chained Command Not Allowed Withnin Multi-Statement Transaction.
Solution:
use
IF (conn.getautocommit ()! = b) {
Conn.setAutocommit (b);
}
instead
Conn.setAutocommit (b).
There is no such problem using other databases (such as Oracle).