Re: DAOManager Rollback problem

2006-06-14 Thread Debasish Dutta Roy
No I am using Oracle 9i and orajdbc-9.2.0.jar file.On 6/14/06, Vincent NICOLAS <[EMAIL PROTECTED] > wrote:One simple question : are you using a transaction enabled DBMS ? For instance, MySql is not unless you use InnoDB structure.Debasish Dutta Roy a écrit :> The problem that I am facing, is the fi

Re: DAOManager Rollback problem

2006-06-14 Thread Vincent NICOLAS
One simple question : are you using a transaction enabled DBMS ? For instance, MySql is not unless you use InnoDB structure. Debasish Dutta Roy a écrit : The problem that I am facing, is the first insert is completed and the second one fails. The first one is not rolled back. If I run in debug

Re: DAOManager Rollback problem

2006-06-14 Thread Debasish Dutta Roy
The problem that I am facing, is the first insert is completed and the second one fails. The first one is not rolled back.If I run in debug mode then I do see that the first record is inserted after the first statement executes. On 6/13/06, Brandon Goodin <[EMAIL PROTECTED]> wrote: It looks good to

Re: DAOManager Rollback problem

2006-06-13 Thread Brandon Goodin
It looks good to me. What exactly is the problem you are facing?On 6/13/06, Debasish Dutta Roy <[EMAIL PROTECTED] > wrote:I am having a problem with rollback. I use DaoManger and SQLMap. I have a business delegate who does like this:DAO1 dao1 = daoManager.getDAO(DAO1.class);DAO2 dao2 = daoManager.g

DAOManager Rollback problem

2006-06-13 Thread Debasish Dutta Roy
I am having a problem with rollback. I use DaoManger and SQLMap.I have a business delegate who does like this:DAO1 dao1 = daoManager.getDAO(DAO1.class);DAO2 dao2 = daoManager.getDAO(DAO2.class);try {   daoManager.startTransaction();  dao1.firstTask();  dao2.secondTask();  daoManager