JBO-35007 Error When USE_APPLICATION_VIEW_CACHE=true (Doc ID 825002.1)

Last updated on AUGUST 04, 2016

Applies to:

Oracle JDeveloper - Version: 10.1.3.4.0 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms


You get an unexpected error JBO-35007 when navigating back and forth between ADF Faces
pages, using command links only.
One of the page creates a new record each time it's accessed.

You can set the property EnableTokenValidation="true" on your page definition to avoid the error,
but this is not acceptable in Production.

The page where it happens is related to a View Object whose Key Attribute is calculated from a database
sequence, with the create() method defined at the Entity Object level:
    protected void create(AttributeList attributeList) {
        super.create(attributeList);
        
        SequenceImpl sequence =
             new SequenceImpl("DEPT_SEQ",getDBTransaction());
        setDeptno(sequence.getSequenceNumber());
    } 

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