Instead of calling update() try

 Object primaryKey = sqlMapSession.insert("insertCode",code);

/Axel 

Reply via email to