EclipseLink/Examples/JPA/nonJDBCArgsToStoredProcedures

From Eclipsepedia

Jump to: navigation, search

{available as of EclipseLink 1.0M2}

How to handle nonJDBC arguments for Oracle Stored Procedures

The standard way of handling a Stored Procedure is to build an instance of oracle.toplink.queryframework.StoredProcedureCall. However, the arguments must be compatible with the JDBC specification.

To handle nonJDBC arguments (e.g. BOOLEAN, PLS_INTEGER, a new sub-class has been created: oracle.toplink.platform.database.oracle.PLSQLStoredProcedureCall