java - MySQL: Unknown system variable 'tx_read_only' -
i'm working on java swing-based application+ hibernate+mysql+spring. when test crud operations, don't have problems read, in insert statements system shows message:
unknown system variable `tx_read_only`
i have last version of mysql
- hibernate 4
- java annotations
can tell me problem solve now?
just throwing rocks darkness, 1 possibility be:
- variable tx_read_only introduced in mysql 5.6.5.
- probably mysql version older that, connector/j tries use new variable anyway.
- according release notes, support variable came in connector/j 5.1.23.
==> maybe version older 5.1.23 work, or bug fixed in version newer that.
Comments
Post a Comment