When I tried to build my web application, I was stucked for almost a week only because I didnot know to configure url with unicode information. Even if I publish the executed sql by hibernate, when the sql arrives at mysql server, it is actually encoded/decoded to different thing because of the usage of chinese character.
So I wonder is it possible to publish the arrived sql at mysql server side in order to make sure about what is going on at every level.