Please provide how you have proven that the transactions are not
working. Also, like Jerome stated, please post all configs and actual
java code involved when asking for support.

Thanks,
Brandon

On 5/22/06, Gary Efraín Laredo Chacón <[EMAIL PROTECTED]> wrote:



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/


Reply via email to