The main point hasn't been mentioned in the above answers that,
We need to pass query string with the options "useUnicode=yes"
and "characterEncoding=UTF-8"
in connection string
Something like this
mysql://USERNAME:PASSWORD@HOSTNAME:PORT/DATABASE_NAME?useUnicode=yes&characterEncoding=UTF-8