In .net I can set a .Select property on a DataTable, such as table.Select = and easily filter or search the contents of a DataTable. Is there something similar, in Java for JDBC and I'm just missing it?

All my googling only returns a FilteredRowSet which is a fairly complicated bit of code just to find an individual row in a resultset.

My issue is that I have an xml element with a lot of attributes. Each attribute name would be checked for a match in the resultset and the resultset would provide a database column to store that attribute's value. If I can't find a simple way to search the resultset I suppose I will .next through the resultset and use xPath to query the xml and find matching attributes instead.

Thanks for any recommendations.