Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
10.2.1.6
-
None
-
Normal
-
Deviation from standard
Description
Execution of statements with HOLD_CURSORS_OVER_COMMIT must not be allowed in a global transaction. Currently, this is allowed when the statement is inside a stored procedure.
e.g: The following procedure should throw an error when executed inside a global transaction. However, no error is thrown when running with embedded or client drivers.
//Java method for stored procedure with HOLD_CURSORS_OVER_COMMIT
public static void testHoldCursorsProc(ResultSet[] rs) throws Exception
Attachments
Attachments
Issue Links
- is part of
-
DERBY-1158 Allow use of Statements created in local transaction with default holdability to be used in global transactions.
- Closed