My Oracle Support Banner

SQL Server skip Locking hint (UPDLOCK, READPAST) not being applied by when using "Distributed Polling" with OSB 11.1.1.7.x (Doc ID 2345943.1)

Last updated on MAY 15, 2023

Applies to:

Oracle Service Bus - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

Skip locking is not working against SQL server when using OSB 11.1.1.7.x

A DB Adapter, created with Distributed polling, is retrieving the same row twice from SQL Server

 

The problem can be verified as follows:

1. Enable all required "skip lock" settings as per the following document:

Doc ID 2114957.1 - After applying patch 14257655 (UPDLOCK, NOWAIT), hint is still not being used in the runtime

 

2. Enable the following OSB debug flags:

<java:alsb-transports-debug>true</java:alsb-transports-debug>
<java:alsb-jca-framework-adapter-debug>true</java:alsb-jca-framework-adapter-debug>

Consult the following document for guidance with configuring debug flags in OSB :-

Doc ID 1534545.1 - Enabling Debug in OSB 11g

 

3. Review the OSB logfile. If the DB Adapter query uses the "WITH (UPDLOCK, NOWAIT)" hint, like in the example below, then skip locking is not working :-

####<Sep 19, 2017 5:54:24 AM BST> <Debug> <AlsbJcaFrameworkAdapter> <HOST> <wls_osb1> <JCA-work-instance:Database Adapter-0> <> <BEA1-01A0454B5DF5> <ECID> <ID> <BEA-000000> <

 



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
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.