Hi,
I'm facing an issue with oracle.jbo.domain.Number
. The code works fine in JDeveloper 11g, and the corresponding column in the database is also of type Number
.
However, when the value in the database is null, it's being converted to an unexpected or illegal value in the ViewObject (VO). If the value is not null, everything works as expected. I'm simply printing the value like this:
System.out.println("ConvRate: " + ConvRate);
getting below exception:
java.lang.IllegalArgumentException: Invalid Input Number
at oracle.sql.NUMBER.stringValue(NUMBER.java:2150)
at oracle.jbo.domain.Number.toString(Number.java:422)
at java.lang.String.valueOf(String.java:2994)
at java.lang.StringBuilder.append(StringBuilder.java:137)
Could you please help me understand what's going wrong?