DERBY-6053 (Client should use a prepared statement rather than regular statement for Connection.setTransactionIsolation)

Backporting changes from trunk(1442474, 1443599) into 10.9 with hand tweaking as 10.9 codeline is supposed to work on Java 1.4. Because of that, the backported code in 10.9 can't use HashMap declaration with type parameters.

junit and derbyall ran fine on 10.9 with these changes backported.



git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/branches/10.9@1451023 13f79535-47bb-0310-9956-ffa450edef68