java - Hiding a Row From a ResultSet -


i have result set has take in rows blank.

it looks there function resultset allows delete row entirely, called resultset.deleterow(). however, looks deletes row database it's linked to.

how can hide row resultset (and not delete database) when every column in row "null"?

thank you.

you can't remove rows or update resultset. have use cachedrowset. if want can loop through result set , add elements in list or map , remove non-required elements data structure. better option modify sql , data want in result set.


Comments

Popular posts from this blog

Using 'OR' and 'AND' in SQL Server -

python - Finding intersection between ellipse and a line -

c++ - NetBeans Remote Development with additional configuration -