title: How to correctly use ResultSet with h:dataTable
body: <p>The problem is, that after displaying the <code>ResultSet</code> with <code>&lt;h:dataTable&gt;</code>, the connection is left open. If I close it, it closes the <code>ResultSet</code> too. I'm thinking about copying the <code>ResultSet</code> data into some <code>HashMap</code>/<code>ArrayList</code> combo. Is there a good way to deal with this problem?</p>