Attaching a new patch (1b) that addresses the issues with the 1a patch.
Description of the changes:
Use true/false when setting the value of an SQLChar from a boolean.
Let the server know what to do if it gets a parameter of type DRDA_TYPE_NBOOLEAN from the client.
Make the tests expect "true" instead of "1" when setting a character type value from a boolean.
Handle BIT values as BOOLEAN instead of SMALLINT. Send BIT/BOOLEAN as boolean to the server, if it knows how to handle it (above mentioned fix in DRDAConnThread.java is required).
Add cross conversion rules for conversions from boolean to the various other types (for setObject() with type argument).
Add new method that tells whether the server understands boolean parameter value (that is, if it has the above mentioned fix in DRDAConnThread.java).
Derbyall, suites.All and the client/server compatibility tests ran cleanly with the patch.