Column 'create_time' cannot be null
来源:11-4 卖家类目功能开发
IT青年_小宇
2017-09-24
师兄块拉我一把,实在是找不到原因了,类目修改一切正常,但是新增就会报
Hibernate: insert into product_category (category_name, category_type, create_time, update_time) values (?, ?, ?, ?)
2017-09-24 15:26:46.284 WARN 11544 --- [ main] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 1048, SQLState: 23000
2017-09-24 15:26:46.284 ERROR 11544 --- [ main] o.h.engine.jdbc.spi.SqlExceptionHelper : Column 'create_time' cannot be null
断点ProductCategory(categoryId=null, categoryName=4, categoryType=4, createTime=null, updateTime=null)
写回答
1回答
-
廖师兄
2017-09-25
看这个问题http://coding.imooc.com/learn/questiondetail/17590.html
00
相似问题