Java code error [collection and collation]

Source: Internet
Author: User

1. Com.ibatis.common.jdbc.exception.NestedSQLException:

com.ibatis.common.jdbc.exception.NestedSQLException:---The error occurred in com/visec/fileissue/domain/Fileissue.xml.---The error occurred whileapplying a parameter map. ---Check the fileissue.doinsertuploadfile-Inlineparametermap. ---Check The statement (update failed). ---Cause:java.sql.SQLException:Column count doesn ' t match value count at row 1Caused By:java.sql.SQLException:Column Count doesn ' t match value count at row 1 at Com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeUpdate (G eneralstatement.java:72) at Com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.insert (Sqlmapexecutordelegate.java:230) at Com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.insert (Sqlmapsessionimpl.java:57) at Com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.insert (Sqlmapclientimpl.java:34) at Com.talent.tdp.base.dao.IbatisSqlMapTemplate.insert (Ibatissqlmaptemplate.java:87) at Com.visec.fileIssue.action.FileIssueAction.doInsert (Fileissueaction.java:164) at Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at Sun.reflect.NativeMethodAccessorImpl.invoke (Nativemethodaccessorimpl.java:39) at Sun.reflect.DelegatingMethodAccessorImpl.invoke (Delegatingmethodaccessorimpl.java:25) at Java.lang.reflect.Method.invoke (Method.java:597)

For com.ibatis.common.jdbc.exception.NestedSQLException: We occasionally appear when we use Ibatis, which we accidentally produce, and we'll know when we look at it.

Column count doesn ' t match value count at row 1 key and value are not fully matched, it is not difficult to see whether the XML file we configured looks at the omission of de value

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.