Mr-Pro / membership

使用Spring Boot开发的简易会员管理系统

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

你好,SQL文件与代码不对应

longshang opened this issue · comments

Hibernate: update member set balance=?, birthday=?, email=?, icon_path=?, member_grade_id=?, member_integral=?, member_name=?, password=?, phone=?, sex=?, state=? where id=?
2018-05-05 11:24:31.538 WARN 9068 --- [nio-8080-exec-2] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 1265, SQLState: 01000
2018-05-05 11:24:31.538 ERROR 9068 --- [nio-8080-exec-2] o.h.engine.jdbc.spi.SqlExceptionHelper : Data truncated for column 'state' at row 1
2018-05-05 11:24:31.538 INFO 9068 --- [nio-8080-exec-2] o.h.e.j.b.internal.AbstractBatchImpl : HHH000010: On release of batch it still contained JDBC statements
2018-05-05 11:24:31.539 ERROR 9068 --- [nio-8080-exec-2] o.h.i.ExceptionMapperStandardImpl : HHH000346: Error during managed flush [org.hibernate.exception.GenericJDBCException: could not execute statement]
org.springframework.orm.jpa.JpaSystemException: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement

这里是在访问/modifyMemberState时出现异常吗?SQL文件我已经重新上传,虽然没什么变动。你看下数据库方面的表是否跟这个图片一样