MyBatis Run Error: info: sqlerrorcodes loaded: [DB2, Derby, H2, HDB, HSQL, Informix, Ms-sql, MySQL, Oracle, PostgreSQL, Sybase]

Source: Internet
Author: User
Tags db2 informix postgresql sybase

MyBatis Run error message appears:

May 23, 2018 12:07:22 am org.springframework.jdbc.support.SQLErrorCodesFactory <init>
Info: Sqlerrorcodes loaded: [DB2, Derby, H2, HDB, HSQL, Informix, Ms-sql, MySQL, Oracle, PostgreSQL, Sybase]

This error is generally caused by an inconsistency between the input parameters of the SQL statement and the database table structure field type.

This error is common, but it's easy to ignore the details when you're wrong:

1, parametertype= "xxx" have not written wrong;

2, there are no invalid characters in the SQL statement, for example: the end of the semicolon;

3, #{xxx} have not written wrong, for example: written in parentheses ();

Write down the memo.

MyBatis Run Error: info: sqlerrorcodes loaded: [DB2, Derby, H2, HDB, HSQL, Informix, Ms-sql, MySQL, Oracle, PostgreSQL, Sybase]

Related Article

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.