Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.1.2-incubating
-
None
Description
At the moment, all "insert" and "update" commands use a fully formed SQL string with embedded values:
"insert into SQLDATACLASS (PK_ID, color,date_time) values (2252, '0','2010-03-05 22:23:000000')".
This should be updated to "insert into SQLDATACLASS (PK_ID, color,date_time) values (?,?,?)".
This should also solve issues with quoting values such as (especially affecting DB2) quoting integer, float, etc, non-string values. DB2 is throwing an exception when integers and floats are quoted ('1') instead of (1).