SQLInsert attempts to do commit() even if autocommit is
switched on. This can cause it to fail.
See <a
href="http://sourceforge.net/forum/forum.php?thread_id=758787&foru
m_id=94027">forum</a>
Present in 6.5.2, 7.2, and all earlier releases.
Source code fixed. Tested by the user reporting the
problem.
Specifically, in module SQLInsert.java, change
connection.commit();
to
if (!connection.getAutoCommit()) {
connection.commit();
}
Michael Kay
Michael Kay
Saxon extensions
v6.5.2
Public
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2003-08-14 14:21 | mhkay |
| resolution_id | None | 2003-08-14 14:21 | mhkay |
| close_date | - | 2003-08-14 14:21 | mhkay |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use