数据库表添加int类型字段时报错:set hibernate.cglib.use_reflection_optimizer=false for more info) setter of com.eplugger.project.mod原因:这个字段的NULL值改为非NULL值并给一个默认值。
ALTER TABLE [dbo].[S_PROJECT] ADD [APPROVAL_ID] [INT] not null DEFAULT 0
数据库表添加int类型字段时报错:set hibernate.cglib.use_reflection_optimizer=false for more info) setter of com.eplugger.project.mod原因:这个字段的NULL值改为非NULL值并给一个默认值。
ALTER TABLE [dbo].[S_PROJECT] ADD [APPROVAL_ID] [INT] not null DEFAULT 0