检查你的连接字符串是否设置了
charset=utf8
下面为完整的数据库连接字符串
datasource=127.0.0.1;port=3306;database=test1;user=root;pwd=root;charset=utf8;