I want to insert a null value through a my java code using db2 stored procedure . However, when I set the input parameter using setNull() function of prepared statement the value getting inserted is "null" whereas in DB2 it should be blank or a “-”.
What is the way to achieve a blank or a “-” and not "null" for such a parameter?
What is the way to achieve a blank or a “-” and not "null" for such a parameter?