The section where I asign the values is:
The column that has the problem is:
stmt.setString(4, (
String) nombreTrab.trim());
I am sure that it is asigned becouse if I change the stmt.addBatch() to stmt.executeUpdate() it works. A friend told me that he has the same problem with char columns,
JDBC type 3 (net) from IBM DB2 7, I am not sure but it seems to be a bug on the driver. He told me that they had to contact IBM support, maybe I'll try this.
Thanks