5 ms·
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 m
by zx8080 4y 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.html https://docs.oracle.com/javase/7/docs/api/java/sql/ResultSet...
- seancorfield 4y agoIf you're a Clojure developer and you're using the next.jdbc library you don't need to ask that question :)
- zx8080 4y agoObviously, I'm not :)