PROBLEM:
The error “java.sql.SQLException: OALL8 is in an inconsistent state” is being retrieved when the query is executed.
REASON:
The database version is incompatible with the JDBC driver.
SOLUTION:
Upgrade the version of the JDBC driver used in the application. New versions can be downloaded in the following address.
http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html