What does this errorcode mean?
because there are always problems with the values during insert and update if the values include quotation marks (inverted commas)
I would like to use prepared statements and try to translate the sample TbSel.java (from the db2 samples)
Something like statement = con~prepareStatement(“INSERT INTO test (name, place) VALUE(:name, :place)”)
seems to work, but for
statement ~ setJccStringName(“name”, name)
I got an errorcode=-4461
Well I do not have db2 therefore I would need a little bit more information.
Would you please provide me a working sample? Which additional classes are necessary to import?