Hacker News new | ask | show | jobs
by zx8080 1224 days ago
What is the idea behind immutable variant of a ResultSet? Since it maintains a database cursor, does it make sense to have it immutable?

> A ResultSet object maintains a cursor pointing to its current row of data. Initially the cursor is positioned before the first row [0]

0 - https://docs.oracle.com/javase/7/docs/api/java/sql/ResultSet...

1 comments

If you're a Clojure developer and you're using the next.jdbc library you don't need to ask that question :)
Obviously, I'm not :)