title: How to get equivalent of ResultSetMetaData without ResultSet
body: <p>I need to resolve a bunch of column names to column indexes (so as to use some of the nice <code>ResultSetMetaData</code> methods). However, the only way that I know how to get a <code>ResultSetMetaData</code> object is by calling <code>getMetaData()</code> on some <code>ResultSet</code>.</p>
  
  <p>The problem I have with that is that grabbing a ResultSet takes up uneccesary resources in my mind - I don't really need to query the data in the table, I just want some information about the table.</p>
  
  <p>Does anyone know of any way to get a <code>ResultSetMetaData</code> object without getting a <code>ResultSet</code> (from a potentially huge table) first?</p>