ORA-01461: can bind a LONG value only for insert into a LONG

Source: Internet
Author: User


ORA-01461: can bind a LONG value only for insert into a LONG column solution my environment is ssh + oracle11.0. This error may be caused by your driver because the previous project was used mysql database, so there is no problem with using the ojdbc14 driver, but then I changed it to oracle. When I inserted a Chinese character, the error was reported because there was no network in those days, and this problem was always on, I know that I only connect to the Internet today, it must be a driver problem. On the Internet, it is said that the www.2cto.com driver problem, but they are all suggested to change to ojdbc14. Which driver I was originally using, later, we imported ojdbc6 in the database and found that the problem was solved. In order to avoid forgetting, write it down in case it cannot be found after this problem occurs. Please do not try to check the information prompted when tomcat is started.

See it. The driver is 10.
So after the change, the system starts and becomes
 
From beyond667

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.