|
楼主 |
发表于 2017-7-7 15:51:57
|
显示全部楼层
admin 发表于 2017-7-5 14:19
具体错误和配置说明下
然后我加个字段,test
[2017-07-07 14:22:31] [INFO] [org.jeecgframework.web.cgform.service.impl.config.util.DbTableProcess:220]
getColumnMetadataFormDataBase --->COLUMN_NAME:ID TYPE_NAME :varchar DECIMAL_DIGITS:0 COLUMN_SIZE:36
[2017-07-07 14:22:31] [INFO] [org.jeecgframework.web.cgform.service.impl.config.util.DbTableProcess:220]
getColumnMetadataFormDataBase --->COLUMN_NAME:BPM_STATUS TYPE_NAME :varchar DECIMAL_DIGITS:0 COLUMN_SIZE:32
[2017-07-07 14:22:31] [INFO] [org.jeecgframework.web.cgform.service.impl.config.util.DbTableProcess:220]
getColumnMetadataFormDataBase --->COLUMN_NAME:CREATE_NAME TYPE_NAME :varchar DECIMAL_DIGITS:0 COLUMN_SIZE:50
[2017-07-07 14:22:31] [INFO] [org.jeecgframework.web.cgform.service.impl.config.util.DbTableProcess:220]
getColumnMetadataFormDataBase --->COLUMN_NAME:CREATE_BY TYPE_NAME :varchar DECIMAL_DIGITS:0 COLUMN_SIZE:50
[2017-07-07 14:22:31] [INFO] [org.jeecgframework.web.cgform.service.impl.config.util.DbTableProcess:220]
getColumnMetadataFormDataBase --->COLUMN_NAME:UPDATE_NAME TYPE_NAME :varchar DECIMAL_DIGITS:0 COLUMN_SIZE:50
[2017-07-07 14:22:31] [INFO] [org.jeecgframework.web.cgform.service.impl.config.util.DbTableProcess:220]
getColumnMetadataFormDataBase --->COLUMN_NAME:UPDATE_BY TYPE_NAME :varchar DECIMAL_DIGITS:0 COLUMN_SIZE:50
[2017-07-07 14:22:31] [INFO] [org.jeecgframework.web.cgform.service.impl.config.util.DbTableProcess:220]
getColumnMetadataFormDataBase --->COLUMN_NAME:SYS_ORG_CODE TYPE_NAME :varchar DECIMAL_DIGITS:0 COLUMN_SIZE:50
[2017-07-07 14:22:31] [INFO] [org.jeecgframework.web.cgform.service.impl.config.util.DbTableProcess:220]
getColumnMetadataFormDataBase --->COLUMN_NAME:SYS_COMPANY_CODE TYPE_NAME :varchar DECIMAL_DIGITS:0 COLUMN_SIZE:50
[2017-07-07 14:22:31] [INFO] [org.jeecgframework.web.cgform.service.impl.config.util.DbTableProcess:220]
getColumnMetadataFormDataBase --->COLUMN_NAME:CREATE_DATE TYPE_NAME :datetime2 DECIMAL_DIGITS:0 COLUMN_SIZE:27
[2017-07-07 14:22:31] [INFO] [org.jeecgframework.web.cgform.service.impl.config.util.DbTableProcess:220]
getColumnMetadataFormDataBase --->COLUMN_NAME:UPDATE_DATE TYPE_NAME :datetime2 DECIMAL_DIGITS:0 COLUMN_SIZE:27
[2017-07-07 14:22:31] [INFO] [org.jeecgframework.web.cgform.service.impl.config.util.DbTableProcess:261]
getColumnMetadataFormCgForm ---->COLUMN_NAME:id TYPE_NAME:string DECIMAL_DIGITS:0 COLUMN_SIZE:36
[2017-07-07 14:22:31] [INFO] [org.jeecgframework.web.cgform.service.impl.config.util.DbTableProcess:261]
getColumnMetadataFormCgForm ---->COLUMN_NAME:bpm_status TYPE_NAME:string DECIMAL_DIGITS:0 COLUMN_SIZE:32
[2017-07-07 14:22:31] [INFO] [org.jeecgframework.web.cgform.service.impl.config.util.DbTableProcess:261]
getColumnMetadataFormCgForm ---->COLUMN_NAME:create_name TYPE_NAME:string DECIMAL_DIGITS:0 COLUMN_SIZE:50
[2017-07-07 14:22:31] [INFO] [org.jeecgframework.web.cgform.service.impl.config.util.DbTableProcess:261]
getColumnMetadataFormCgForm ---->COLUMN_NAME:create_by TYPE_NAME:string DECIMAL_DIGITS:0 COLUMN_SIZE:50
[2017-07-07 14:22:31] [INFO] [org.jeecgframework.web.cgform.service.impl.config.util.DbTableProcess:261]
getColumnMetadataFormCgForm ---->COLUMN_NAME:update_name TYPE_NAME:string DECIMAL_DIGITS:0 COLUMN_SIZE:50
[2017-07-07 14:22:31] [INFO] [org.jeecgframework.web.cgform.service.impl.config.util.DbTableProcess:261]
getColumnMetadataFormCgForm ---->COLUMN_NAME:update_by TYPE_NAME:string DECIMAL_DIGITS:0 COLUMN_SIZE:50
[2017-07-07 14:22:31] [INFO] [org.jeecgframework.web.cgform.service.impl.config.util.DbTableProcess:261]
getColumnMetadataFormCgForm ---->COLUMN_NAME:sys_org_code TYPE_NAME:string DECIMAL_DIGITS:0 COLUMN_SIZE:50
[2017-07-07 14:22:31] [INFO] [org.jeecgframework.web.cgform.service.impl.config.util.DbTableProcess:261]
getColumnMetadataFormCgForm ---->COLUMN_NAME:sys_company_code TYPE_NAME:string DECIMAL_DIGITS:0 COLUMN_SIZE:50
[2017-07-07 14:22:31] [INFO] [org.jeecgframework.web.cgform.service.impl.config.util.DbTableProcess:261]
getColumnMetadataFormCgForm ---->COLUMN_NAME:create_date TYPE_NAME:date DECIMAL_DIGITS:0 COLUMN_SIZE:20
[2017-07-07 14:22:31] [INFO] [org.jeecgframework.web.cgform.service.impl.config.util.DbTableProcess:261]
getColumnMetadataFormCgForm ---->COLUMN_NAME:update_date TYPE_NAME:date DECIMAL_DIGITS:0 COLUMN_SIZE:20
[2017-07-07 14:22:31] [INFO] [org.jeecgframework.web.cgform.service.impl.config.util.DbTableProcess:261]
getColumnMetadataFormCgForm ---->COLUMN_NAME:test TYPE_NAME:string DECIMAL_DIGITS:0 COLUMN_SIZE:32
[2017-07-07 14:22:31] [INFO] [org.jeecgframework.web.cgform.service.impl.config.util.DbTableProcess:141] [alter table test2
ALTER COLUMN id varchar(36) NOT NULL ;, EXECUTE sp_updateextendedproperty N'MS_Description', '主键', N'SCHEMA', N'dbo',
N'TABLE', N'test2', N'COLUMN', N'id', alter table test2 ALTER COLUMN sys_org_code varchar(50) NULL ;, EXECUTE
sp_updateextendedproperty N'MS_Description', '所属部门', N'SCHEMA', N'dbo', N'TABLE', N'test2', N'COLUMN', N'sys_org_code',
alter table test2 ALTER COLUMN bpm_status varchar(32) NULL DEFAULT 1;, EXECUTE sp_updateextendedproperty N'MS_Description',
'流程状态', N'SCHEMA', N'dbo', N'TABLE', N'test2', N'COLUMN', N'bpm_status', alter table test2 ALTER COLUMN create_date
datetime NULL ;, EXECUTE sp_updateextendedproperty N'MS_Description', '创建日期', N'SCHEMA', N'dbo', N'TABLE', N'test2',
N'COLUMN', N'create_date', alter table test2 ADD test varchar(32) NULL ;, EXECUTE sp_updateextendedproperty
N'MS_Description', 'test', N'SCHEMA', N'dbo', N'TABLE', N'test2', N'COLUMN', N'test', alter table test2 ALTER COLUMN
create_by varchar(50) NULL ;, EXECUTE sp_updateextendedproperty N'MS_Description', '创建人登录名称', N'SCHEMA', N'dbo',
N'TABLE', N'test2', N'COLUMN', N'create_by', alter table test2 ALTER COLUMN create_name varchar(50) NULL ;, EXECUTE
sp_updateextendedproperty N'MS_Description', '创建人名称', N'SCHEMA', N'dbo', N'TABLE', N'test2', N'COLUMN', N'create_name',
alter table test2 ALTER COLUMN sys_company_code varchar(50) NULL ;, EXECUTE sp_updateextendedproperty N'MS_Description', '所
属公司', N'SCHEMA', N'dbo', N'TABLE', N'test2', N'COLUMN', N'sys_company_code', alter table test2 ALTER COLUMN update_name
varchar(50) NULL ;, EXECUTE sp_updateextendedproperty N'MS_Description', '更新人名称', N'SCHEMA', N'dbo', N'TABLE', N'test2',
N'COLUMN', N'update_name', alter table test2 ALTER COLUMN update_date datetime NULL ;, EXECUTE sp_updateextendedproperty
N'MS_Description', '更新日期', N'SCHEMA', N'dbo', N'TABLE', N'test2', N'COLUMN', N'update_date', alter table test2 ALTER
COLUMN update_by varchar(50) NULL ;, EXECUTE sp_updateextendedproperty N'MS_Description', '更新人登录名称', N'SCHEMA', N'dbo',
N'TABLE', N'test2', N'COLUMN', N'update_by']
[2017-07-07 14:22:31] [WARN] [org.hibernate.engine.jdbc.spi.SqlExceptionHelper:143] SQL Error: 15217, SQLState: S0002
[2017-07-07 14:22:31] [ERROR] [org.hibernate.engine.jdbc.spi.SqlExceptionHelper:144] 无法更新或删除属性。'dbo.test2.id' 不存在
属性 'MS_Description'。
[2017-07-07 14:22:31] [ERROR] [org.jeecgframework.web.cgform.service.impl.config.CgFormFieldServiceImpl:277] 无法更新或删除属性
。'dbo.test2.id' 不存在属性 'MS_Description'。
org.hibernate.exception.SQLGrammarException: 无法更新或删除属性。'dbo.test2.id' 不存在属性 'MS_Description'。
|
|