DB Adapter randomly fails to insert record with Native Sequencing
Hello All,
I have a DB adpater in SOA 11g which inserts record into Oracle interface tables which uses Native sequencing. And its failing with below error,
"BINDING.JCA-12563 Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'insert' failed due to: DBWriteInteractionSpec Execute Failed Exception. insert failed. Descriptor name: [ApInvoice.ApInvoicesInterface]. Caused by java.sql.BatchUpdateException: ORA-00001: unique constraint (AP.AP_INVOICES_INTERFACE_U1) violated"
What's puzzling me is it is not always failing, it works and randomly it starts failing for bunch of instance and it starts working again. I'm thinking something to do with cache settings for this sequence in DB adapter.