Are you using InnoDB?
Are you using InnoDB?
Last edited by karldmoore; Aug 29th, 2007 at 11:28 AM.
Barracuda Networks SSL VPN Lead Developer
http://pramatr.wordpress.com
http://twitter.com/karldmoore
http://www.linkedin.com/in/karldmoore
Any postings are my own opinion, and should not be attributed to my employer or clients.
no I'm not
is that required for transactions?
I'm not a MySQL expert but I guess that could be the problem.
http://dev.mysql.com/books/mysqlpres...rial/ch10.htmlTo use transactions as demonstrated in the preceding section, you must be using a transaction-safe table type—either InnoDB or BDB. There are various pieces of syntax that will get the same effect.
Last edited by karldmoore; Aug 29th, 2007 at 11:28 AM.
Barracuda Networks SSL VPN Lead Developer
http://pramatr.wordpress.com
http://twitter.com/karldmoore
http://www.linkedin.com/in/karldmoore
Any postings are my own opinion, and should not be attributed to my employer or clients.
tx
I'll try this first thing tomorrow and let you know if it worked.
greetz
Last edited by karldmoore; Aug 29th, 2007 at 11:28 AM.
Barracuda Networks SSL VPN Lead Developer
http://pramatr.wordpress.com
http://twitter.com/karldmoore
http://www.linkedin.com/in/karldmoore
Any postings are my own opinion, and should not be attributed to my employer or clients.
Stijn,
If you use JUnit to test the transactions, try to manage your transaction from the testclass instead of the service.
Extend the testclass from AbstractTransactionalSpringContextTests and use the provided TransactionManager from that class instead of managing your transactions from the service.
Maybe there is something wrong with your transactionmanager instance you provide in the service layer.
Try it this way to see if that works.
Koen
Last edited by karldmoore; Aug 29th, 2007 at 11:27 AM.
Barracuda Networks SSL VPN Lead Developer
http://pramatr.wordpress.com
http://twitter.com/karldmoore
http://www.linkedin.com/in/karldmoore
Any postings are my own opinion, and should not be attributed to my employer or clients.