My Oracle Support Banner

ORABPEL-11616 Error When Trying To Insert a Record Into a Microsoft SQL Server 2000 Table When It Has a numeric() Identity Column (Doc ID 567437.1)

Last updated on MARCH 29, 2019

Applies to:

Oracle TopLink - Version 10.1.3.3 and later
Oracle(R) BPEL Process Manager 10g - Version 10.1.3.3 and later
Oracle Enterprise Service Bus - Version 10.1.3.3 and later
Information in this document applies to any platform.
***Checked for relevance on 12-Oct-2010***


Symptoms

When using SOA version 10.1.3.3 the following error occurs when trying to insert a record into a Microsoft SQL Server 2000 SP4 table when it has an Auto number field (numeric() Identity column) using a DB adapter:

<bindingFault xmlns="http://schemas.oracle.com/bpel/extension"> 
-<part name="code"> 
<code>
544
</code>
</part>
-<part name="summary"> 
<summary> 
file:/C:/xx.tmp/Service.wsdl WSIF JCA Execute of operation 'write' failed due to: DBWriteInteractionSpec Execute Failed Exception.
write failed. Descriptor name: [t.BPELWorkflow]. [Caused by: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Cannot insert explicit value for identity column in table 'Workflow' when IDENTITY_INSERT is set to OFF.]
; nested exception is: 
ORABPEL-11616
DBWriteInteractionSpec Execute Failed Exception.
write failed. Descriptor name: [Workflow]. [Caused by: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Cannot insert explicit value for identity column in table 'Workflow' when IDENTITY_INSERT is set to OFF.]
Caused by Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 070608)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Cannot insert explicit value for identity column in table 'Workflow' when IDENTITY_INSERT is set to OFF.Error Code: 544
Call:INSERT INTO dbo.Workflow (FacID, FromFacID, FromNsID, FromRoom, ModDate, PatFName, PatID, PatLName, ToFacID, ToNsID, ToRoom, WFStatus, XDate, XID) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
bind => [XXX, YYY, ZZZ, 143, 2007-08-27 00:00:00.0, HYD, M20072144, BPEL, XXX, YYY, 435, APPROVED, 2007-08-27 00:00:00.0, null]
Query:WriteObjectQuery(<BPELWorkflow null />).
</summary>
</part>
-<part name="detail"> 
<detail> 
Internal Exception: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Cannot insert explicit value for identity column in table 'Workflow' when IDENTITY_INSERT is set to OFF.Error Code: 544
Call:INSERT INTO dbo.Workflow (FacID, FromFacID, FromNsID, FromRoom, ModDate, PatFName, PatID, PatLName, ToFacID, ToNsID, ToRoom, WFStatus, XDate, XID) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
bind => [XXX, YYY, ZZZ, 143, 2007-08-27 00:00:00.0, HYD, M20072144, BPEL, XXX, YYY, 435, APPROVED, 2007-08-27 00:00:00.0, null]
Query:WriteObjectQuery(<BPELWorkflow null />)
</detail>
</part>
</bindingFault>

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.