My Oracle Support Banner

Method Selectedrowkeys Only Retrieves Last Row Selected (Doc ID 2882073.1)

Last updated on NOVEMBER 01, 2023

Applies to:

Oracle JDeveloper - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

When trying to read all the selected rows from the table with the method getSelectedRowKeys() and findByKey, It always returns the last row selected instead of all selected multiple rows.

Below is a sample code

 

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


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