mybatis解决insert时候空值问题
mybatis在insert的时候,当对象里面有空值的时候,插入不成功,需要在SqlMapperConfig.xml中进行设置;org.apache.ibatis.exceptions.PersistenceException: SQL: INSERT INTO USER_S (id,username,birthday,sex,address) VALUES(?,?,?,?,?)Cause: org
原创
2017-02-15 19:23:09 ·
13506 阅读 ·
0 评论