My Oracle Support Banner

Records are Lost upon Sorting Using "QUERY_MODE_SCAN_VIEW_ROWS" during Activation/Passivation. (Doc ID 1326261.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

Rows in a transient view object for which rows are created programmatically looses its rows upon sorting the data in the table. This happens when "Enable Application Module Pool" is disabled to test passivation/activiation. Upon sorting the data the created records are lost. It works fine when the application module pool is enabled.

Rows are created as follows (method in ApplicationImpl class):

public void createRows() {
  System.out.println("method createRows");
  ViewObjectImpl vo = getVO_PR_Test1();
  for(int i = 0; i < 10; i++) {
    VO_PR_TestRowImpl row = (VO_PR_TestRowImpl)vo.createRow();
    row.setCode("C" + i);
    row.setDescription("Description for item " + i);
    vo.insertRow(row);
  }
  vo.setQueryMode(ViewObject.QUERY_MODE_SCAN_VIEW_ROWS);
}

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
  Symptoms
  Cause
  Solution
  References

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.