Please help me
I am used jdk1.5 + MySql 4.1.x + Ibatis 2.0 + JConnector 3.1.12 (3.1.8a) and
don\'t work transactions (allways commit for each statement), my MySql database
is a hosting on the other place, sample of code:
ClienteBean cliente = new ClienteBean();
Reader reader1 = Resources.getResourceAsReader(\\\"maps/sqlMapConfig.xml\\\");
SqlMapClient sqlMap = SqlMapClientBuilder.buildSqlMapClient(reader1);
sqlMap.startTransaction();
sqlMap.update(\\\"updateCorrelativo\\\",\\\"000\\\"); //update table here allways
sqlMap.endTransaction();//but It coult be rollbak
___________________________________________________________________
Si desea recibir, semanalmente, el Boletín Electrónico de la PUCP, ingrese a:
http://www.pucp.edu.pe/boletin/