How can I get a
String representation of the sql that my prepared statement is holding(with the question marks replaced with actual parameters) ?
The reason I am asking this is because I am getting a DB2Exception as follows
COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2] SQL0407N Assignment of a NULL value to a NOT NULL column "" is not allowed. SQLSTATE=23502
When I checked the values in logical layer, all are not null. I hope if I see the sql I can figure out which value is null.
[ January 18, 2006: Message edited by: jiju ka ]