在url路径后加上
?useUnicode=true&characterEncoding=utf-8参数
例子:
url: jdbc:mysql://localhost:3306/jpa_demo?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8
在url路径后加上
?useUnicode=true&characterEncoding=utf-8参数
例子:
url: jdbc:mysql://localhost:3306/jpa_demo?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8