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 22.214.171.124.0 to 126.96.36.199.0 [Release 12c]
Information in this document applies to any platform.
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 188.8.131.52.
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