我使用
在DB2中更新了列大小ALTER TABLE tble_name
ALTER COLUMN tex SET DATA TYPE VARCHAR(4500);
之后插入新记录失败,显示错误
<openjpa-1.2.2-r422266:898935 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: An error occurred during implicit system action type "3". Information returned for the error includes SQLCODE "-1424", SQLSTATE "54040" and message tokens "2".. SQLCODE=-727, SQLSTATE=56098, DRIVER=3.53.95 {prepstmnt 804644256 INSERT INTO tablename (colum1, colum2, colum3, colum4, colum5, colum6, colum7, colum8, colum9, colum10, colum11) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [params=......]} [code=-727, state=56098]SQLCA OUTPUT[Errp=SQLNQ2AB, Errd=-2145779603, 0, 3, 0, -102, 0]
An error occurred during implicit system action type "3". Information returned for the error includes SQLCODE "-1424", SQLSTATE "54040" and message tokens "2".. SQLCODE=-727,
我们有基于上表的触发器吗?它会影响吗?
编辑:我们试图删除触发器然后我们能够插入。但是当再次创建触发器时,我们面临着错误的陈述
Too many references to transition variables and transition table columns or the row length for these references is too long. Reason code="2".. SQLCODE=-1424, SQLSTATE=54040, DRIVER=4.19.49