Hello,
I put a commit advice to all my DAO classes:

@Match("*DAO*")
public static void adviseTransactions(HibernateTransactionAdvisor advisor, MethodAdviceReceiver receiver) {
    advisor.addTransactionCommitAdvice(receiver);
}

It works well for MyISAM tables, but no persist call is committed after I switched to InnoDB. The @CommitAfter doesn't work too. The only way is to explicitly call session.getTransaction().commit() . I've set MySQL5InnoDBDialect and hibernate.connection.autocommit in hibernate.cfg.xml, but neither of them helped me.
TIA
Robert-Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to