ORA-24816: provides a scalable non-LONG Binding data solution after the actual LONG or LOB Column

Source: Internet
Author: User

ORA-24816: when the actual LONG or LOB column is followed by an extended non-LONG Binding data solution to add an announcement, an error is reported when the content is entered too: ORA-24816: after the actual LONG or LOB columns, the extended non-LONG Binding data solution is provided: after the actual LONG or LOB columns, the extended non-LONG Binding data error is provided, this error occurs because fields with the LONG field type in the database are placed before other fields during parameter binding. You only need to bind the fields with the LONG type to the final setting. Insert into ZGECM. ZHBGPT_GGXX (BT, BZ, FBRBH, FBRXM, FBSJ, FBZT, FJDZ, FJMC, NR, SFZD, SXRQ, YDFW, YDFWQD, YXRQ, zqsj, ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) Oh, is the content field to be put behind? Well, modify the program and modify the database. 1. modify the program: @ Entity @ Table (name = "ZHBGPT_GGXX", schema = "ZGECM") public class GgxxEntity implements Serializable {// Fields private int id; private String bt; private String sxrq; private String yxrq; private String ydfw; private String ydfwqd; private String fbrxm; private String fbrbh; private String fbsj; private String bz; private String fbzt; private String sfzd; private String zqsj; private String Fjmc; private String fjdz; private String zzz_nr; 2. modify the field corresponding to the database. 3. restart the service. OK. the insert statement has changed: insert into ZGECM. values (BT, BZ, FBRBH, FBRXM, FBSJ, FBZT, FJDZ, FJMC, SFZD, SXRQ, YDFW, YDFWQD, YXRQ, zqsj, ZZZ_NR, ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

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.