Home > Back-end >  Why save invalid?
Why save invalid?

Time:04-15

@ Test
Public void test8 () {
The Author Author=new Author ();
The author elegantly-named setName (" style ");
The author setOriginalName (" HHHHHHH ");
Session. SaveOrUpdate (author);
The session. The flush ();
 
}

CodePudding user response:

Execute SQL print to see?
debug

CodePudding user response:

Not to commit the transaction
  • Related