Hibernate:
insert
into
STUDENT
(SNAME, GENDER, BIRTHDAY, ADDRESS, SID)
values
(?, ?, ?, ?, ?)
十二月 11, 2016 9:30:59 下午 org.hibernate.engine.jdbc.spi.SqlExceptionHelper logExceptions
WARN: SQL Error: 1366, SQLState: HY000
十二月 11, 2016 9:30:59 下午 org.hibernate.engine.jdbc.spi.SqlExceptionHelper logExceptions
ERROR: Incorrect string value: '\xE5\xBC\xA0\xE4\xB8\x89...' for column 'SNAME' at row 1
查看一下你数据库中报错字段对应的那一栏的属性设置
数据库的字符集不是utf-8