Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Invoking Postgres Stored Procedure from Oracle SOA 11g

User_Q22IQJul 28 2022

We are trying to connect to PostgreSQL DB from SOA and invoke the Postgres Stored Procedure.
While creating DB adapter in JDeveloper we are getting below error popup.
image.png
We tried creating DB adapters and connections with below methods:

We tried creating DB adapter through similar Oracle converted Stored Procedure and Postgres Data Source connection , we got Platform class not supported exception. Platform class used for postgres connections as of now is - oracle.toplink.platform.database.DatabasePlatform
Have gone through few blogs to overcome the issue and replaced the platform class with - org.eclipse.persistence.platform.database.PostgreSQLPlatform. But still see the above issue.
Later replaced the platform class with Oracle platform class - org.eclipse.persistence.platform.database.Oracle10Platform . which is now giving below issue.
java.lang.ClassCastException: weblogic.jdbc.wrapper.JTSConnection_org_postgresql_jdbc_PgConnection cannot be cast to oracle.jdbc.OracleConnection
Later we tried disabling Wrap Data Types option in the Advanced settings of Postgres Data source in WebLogic console and still got the same error.

Could you please help us resolving the issue and suggest the path forward for rightly configuring Postgres DB adapter for invoking a Postgres Data Source.

Comments

Processing

Post Details

Added on Jul 28 2022
1 comment
481 views