My Oracle Support Banner

Database Adapter "Insert and Merge" operation to SQL Server failing with Incorrect syntax near ')'. (Doc ID 2579354.1)

Last updated on AUGUST 26, 2019

Applies to:

Oracle Integration-OIC - Version 18.2.5 and later
Information in this document applies to any platform.


Database Adapter Insert and Merge operation to SQL Server failing with Incorrect syntax near ')' error :-

[FMWGEN][SQLServer JDBC Driver][SQLServer]Incorrect syntax near ')'.
Fault Details :
<err:serviceInvocationError xmlns:err="">
<err:type>DBWriteInteractionSpec Execute Failed Exception</err:type>
<err:title>merge failed. Descriptor name: [UpInsertToMyTable.MyTable].</err:title>
<err:detail>Caused by java.sql.SQLException: [FMWGEN][SQLServer JDBC Driver][SQLServer]Incorrect syntax near ')'..</err:detail>
<err:remedialAction>Please see the logs for the full DBAdapter logging output prior to this exception.</err:remedialAction>

This only happens when inserting/updating multiple records.

Due to this issue, users cannot Insert and Merge more than 1 record.


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

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