code show as below:
2. If the alias is Chinese resultSetMetaData.getColumnName(i 1), this code will get garbled data.
3. The Chinese in the result set is normal. 4.mysql character settings are as follows
欢迎选择我的课程,让我们一起见证您的进步~~
Add encoding parameters after the JDBC url
?useUnicode=true&characterEncoding=UTF-8
Add encoding parameters after the JDBC url