Hello Rony,

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

 

Would you please provide me a working sample? Which additional classes are necessary to import?

Regards

Roger