Home  >  Article  >  Database  >  java web-mysql cannot set up transactions (teacher Fang Lixun’s course)

java web-mysql cannot set up transactions (teacher Fang Lixun’s course)

WBOY
WBOYOriginal
2016-11-30 23:59:58963browse

java webmysql transaction

Dear masters, take a look at Teacher Fang’s javaWEB to set the isolation level. I am using 5.7.16. The command is as follows. Why can’t I change it? Is it a version problem?
I am still a novice. Please explain it to me. ,Thank youjava web-mysql cannot set up transactions (teacher Fang Lixun’s course)

Reply content:

Whether the root account is logged in to MySQL

set session|global transaction isolation level read uncommitted;
Set the current session or global isolation level. If there is no restriction, set the isolation level for the next (unstarted) transaction;

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn