Closed meteorice closed 7 years ago
You need to commit the session (or close if only SELECTs are executed) before editing the data.
Please post your next question to the mailing list. We use GitHub Issues for bug reports and feature requests only. Thank you!
thanks!
MyBatis version
3.2.8 - > 3.4.5-SNAPSHOT
Database vendor and version
oracle ,mysql ... any
problem description
I got a data from db , mybatis put it to TransactionalCache ; then edit it in dao. example: idcard value "1234567890" change to "1234**" when i commit Transaction, but 1234** to the redis.
so,can i control TransactionalCache myselft.put data to the redis immediately.
Expected result
"1234567890"
Actual result
"1234**"