getKeySet() returns oracle.jbo.Key[keyvalue]-Question for ADF Product Team
490060Jul 3 2006 — edited Jul 4 2006Question for Product Team:
When using a tableSelectMany component the developers guide does a good job of explaining how to get the selected rows using the getKeySet() method - ex:
Set keySet = getSearchTable().getSelectionState().getKeySet();
I have had to programmatically work with this Set and combine it with another set along with some business logic. I notice that the key values returned by getKeySet() are in the format:
"oracle.jbo.Key[keyvalue]"
I am using string functions to extract the keyvalue out of the KeySet. My question is whether the result will always contain the "oracle.jbo.Key[]" part since my code is now dependent on it. Or, maybe there is a better way to just get the keyvalue?