My Oracle Support Banner

createWithParam Operation Causes JBO-25009 Error When Using Composite Key (Number + String) As Primary Key (Doc ID 2720796.1)

Last updated on DECEMBER 01, 2020

Applies to:

Oracle JDeveloper - Version 12.2.1.3.0 to 12.2.1.4.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

An ADF application has a page with a table based upon a ViewObject having a composite key (a combination of Number and String) as primary key. The users can create new entries in the table by using the createWithParam operation. However, when doing that the following error is reported:

oracle.jbo.domain.DataCreationException: JBO-25009: Cannot create an object of type:java.lang.Integer from type:java.lang.String with value:<STRING_PARAM>
java.lang.NumberFormatException: For input string: "<STRING_PARAM>"

Same operation works in version 12.1.3.0.

Changes

 

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