调用ibatis的DAO:
2008-9-23 15:43:09 org.apache.catalina.core.ApplicationContext log
信息: org.springframework.dao.DataIntegrityViolationException: SqlMapClient operation; SQL [];
--- The error occurred in com/miracle/dm/sysmgr/log/sqlmapxml/Log_SqlMap.xml.
--- The error occurred while applying a parameter map.
--- Check the insertLog-InlineParameterMap.
--- Check the statement (update failed).
--- Cause: java.sql.SQLException: 无法将 NULL 值插入列 'log_id',表 'mloa.dbo.tb_log';该列不允许空值。INSERT 失败。; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in com/miracle/dm/sysmgr/log/sqlmapxml/Log_SqlMap.xml.
--- The error occurred while applying a parameter map.
--- Check the insertLog-InlineParameterMap.
--- Check the statement (update failed).
--- Cause: java.sql.SQLException: 无法将 NULL 值插入列 'log_id',表 'mloa.dbo.tb_log'ÿ
无法将 NULL 值插入列 'log_id',表 'mloa.dbo.tb_log';该列不允许空值。INSERT 失败
最新推荐文章于 2023-06-06 15:02:04 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)