My Oracle Support Banner

BPM 12c Error: SQL Server Database Insert Issue (Doc ID 2106416.1)

Last updated on FEBRUARY 05, 2020

Applies to:

Oracle Business Process Management Suite - Version and later
Information in this document applies to any platform.


A BPM process calls a DB operation using DB adapter. When the DB operation is performed the following error shows up in the logs:

Could not invoke operation 'insert' against the 'db' due to: [[
Could not create/access the TopLink Session.
This session is used to connect to the datastore.
Caused by Exception [EclipseLink-7042] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.ValidationException
Exception Description: Database platform class [weblogic.jdbc.sqlserver.SQLServerDriver] not found.
Internal Exception: java.lang.ClassCastException: weblogic.jdbc.sqlserver.SQLServerDriver cannot be cast to org.eclipse.persistence.internal.databaseaccess.Platform.
You may need to configure the connection settings in the deployment descriptor (i.e. DbAdapter.rar#META-INF/weblogic-ra.xml) and restart the server. This exception is considered not retriable, likely due to a modelling mistake.

The error is followed by an exception with the following stack trace:
java.lang.ClassCastException: weblogic.jdbc.sqlserver.SQLServerDriver cannot be cast to org.eclipse.persistence.internal.databaseaccess.Platform
at org.eclipse.persistence.sessions.DatasourceLogin.setPlatformClassName(
at oracle.tip.adapter.db.DBManagedConnectionFactory.buildServerSessionConnectivity(
at oracle.tip.adapter.db.DBManagedConnectionFactory.buildServerSession(
at oracle.tip.adapter.db.DBManagedConnectionFactory.createServerSession(
at oracle.tip.adapter.db.DBManagedConnectionFactory.acquireSession(
at oracle.tip.adapter.db.transaction.DBTransaction.getSession(
at oracle.tip.adapter.db.DBConnection.getSession(
at oracle.tip.adapter.db.DBInteraction.executeOutboundWrite(
at oracle.tip.adapter.db.DBInteraction.execute(


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.