CodePudding user response:
Well, you put the code to just know, or don't seeCodePudding user response:
That you submit theCodePudding user response:
Try try to refresh the databaseCodePudding user response:
CodePudding user response:
See if there is any transaction,CodePudding user response:
Didn't see there are uncommitted transactionsCodePudding user response:
Tracking down stuuserdao. Updatepwd (stuuser); The logic behind, to see whether there is a database for the update operation.Share an ORM framework -- Bee.
Bee framework, a 10 minutes ORM framework of society. With the simplicity of operation entity object directly, also can easily write their own SQL execution.
https://blog.csdn.net/abckingaa/article/details/81176524
Bee low development cost, development of high efficiency and don't have to write more code,
It did not have to write each dao is a code, each service can call the bee as dao, let we don't need to write the dao code.
Save time and effort, the development efficiency is high, the encoding complexity to O (1).
A development cost and the speed of development is as good as the PHP Java ORM framework,
CodePudding user response:
My test class, can change the database, should be the problem, but I should take properties are given, also print out the error, the database is not changeCodePudding user response:
Debugger to debug, whether to execute the SQL statement, if carried out, whether the transaction is committedCodePudding user response:
Don't see how you handle affairs, the code is not completeCodePudding user response:
Before the building Lord how to solve of, I met the same problemCodePudding user response:
Solve the code logic is itself didn't see clear with JDBC do not have what relation