1. Set auto-commit to false2. Insert
3. Create a break point before the commit (I didn't do that, this is the only difference)4. Use squirrel or phpmyadmin or your favorite database tool, to check whether the table was updated. It shouldn't be (I'm using MYSQL query builder)
5. Commit6. Check again in your tool. Now, the update should be visible
factory.getConnection().setAutoCommit(false)
factory.insertInto(....)
.execute()
> Yes, the steps that you wrote are exactly what I did before posting :)
Great
> Can be a missing configuration? Or can it depend by MySql driver (I'm using
> version x.x.15 instead x.x.18 as in your tutorial)?
I don't think the driver's patch version is relevant, although you
should use the latest version, of course. However, have you considered
these MySQL features?
http://dev.mysql.com/doc/refman/5.5/en/set-transaction.html
MySQL allows for tampering with transaction isolation levels. So for
debugging purposes, it is actually possible to read uncommitted state
from another transaction...
Cheers
Lukas
2012/4/4 FractalizeR <Fract...@yandex.ru>: