Method Weblogic.jdbc.rowset.CachedRowSetImpl::getBoolean() Always Returns False
Last updated on NOVEMBER 05, 2016
Applies to:Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.
Below we are describing the problem in a simplified way just to demonstrate them.
We are using the class weblogic.jdbc.rowset.CachedRowSet to access an Oracle database table.
The table have a char(1) field that store only '0' or '1' characters (true or false).
When we use the method weblogic.jdbc.rowset.CachedRowSetImpl.getBoolean() to get the values from this table, the method always returns false regardless whether the value stored in the field is "0" or "1".
To simulate the problem:
1- Execute the following commands in the Oracle database to create and populate a test table:
4- Access the application in the browser: http://<HOST_NAME>:<PORT>/test/index.jsp
5- See in the browser that all values returned are false although some lines should be returned true.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms