Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
1.5.2
-
None
Description
Direct statement (Statement without parameter) doesn't work using IBM jdk.
Since driver use intensively parameters conversion to UTF8 and sanitizing parameters.
A real improvement was to use String internal Char array value when securityManager allows it (this permit to avoid creation to up to bytes array and copying data into those arrays)
Problem is that IBM jdk Strings can be shared, and use offset/count.
resulting exception will be :
Caused by: java.sql.SQLNonTransientException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1