1

在我的 java 程序中生成了一个插入语句,导致错误如下:

ERROR: @20111@
SQL state: P0001

-- Executing query:
 insert into C_OrderLine 
 (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy,
  C_Order_ID, Line, C_BPartner_ID, M_Product_ID, DirectShip, 
  QtyOrdered, C_Currency_ID, PriceList, LineNetAmt, Discount,
   ChargeAmt, C_Tax_ID, IsDescription, PriceStd, CANCELPRICEAD, 
   Iseditlinenetamt, Gross_Unit_Price,
        Line_Gross_Amount,
     GrossPriceList, grosspricestd, Manage_Reservation, Manage_Prereservation,           Explode,     EM_Cmcrm_Ispreferred,
     C_OrderLine_ID)
       values ('DB53D340E7284128884CDC972AFE0CF9', '8ADAE37C221E4579B54EF5744F753326',
    'Y', '2013-11-14 12:39:53.093000 +01:00:00', 'C9D3AAE3B95D4FFCAF5474ED8BAFD6AA',
     '2013-11-14 12:39:53.093000 +01:00:00', 'C9D3AAE3B95D4FFCAF5474ED8BAFD6AA', 
     '32F50B143DF145948990BCA5CEFC6279', '10', '1A80F57BAF63472CB5F38C33FBE23470',
      'D06C31E42DDF470CA684182BF8F15F21', 'N', '1', '102', '0', '20.66', '0', '0',
       '1A77590BECA54C9C86BE0D333023A0CF', 'N', '0', 'N', 'N', '25', '25', '25', '25',
        'N', 'N', 'N', 'N', '8EB102ACE8A74FE1A626098FB0EA92C5') 

我使用了插入语句并直接运行它,但仍然只获得错误 20111 的信息。有没有办法获得有关导致此错误的原因的更多信息?

4

1 回答 1

1

发现这是来自触发功能的错误消息。触发器很好,但它们确实从 Java 代码中隐藏了正在发生的事情。无论如何,Oke olved

于 2013-11-14T12:46:56.663 回答