Today, I finally fused with hibernate.
Yesterday, I didn't solve the problem, after the thinking of one night, I solved it.
It turns out that there is a problem with the MAP profile update, but it is not a big problem.
The encoding problem is also solved, the page is all UTF-8, plus a filter
Just OK, the database is solved in a few days before compilation.
Recently, I have successfully applied a Gmail, but I feel very good.