## JTA is not working

Hi ,
I am using jbossts for my transaction. I have only one datasourse :
In my code:

TransactionManager transactionManager = trxManager.getTransactionManager();
transactionManager.begin();
i++;
jDBCDBHandler.updateValue(i);
System.out.println("Updated i : " + i);
transactionManager.rollback();

Even I am calling the rollback. My values are commited to the database.

Please let me how to do it ?