ORA-00904 Exception When Querying Subclass Entities With Paging Mechanism (Doc ID 1474322.1)

Last updated on SEPTEMBER 10, 2014

Applies to:

Oracle TopLink - Version 11.1.1.6.0 to 12.1.1.0 [Release Oracle11g to 12c]
Information in this document applies to any platform.

Symptoms

Two entities SubClazz1, SubClazz2 extends AbstractBaseClazz class entities as the following :



The problem does not occur, by removing the following lines : 
query.setFirstResult(0);
query.setMaxRows(10);

Cause

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