title: CURSOR and REF CURSOR as a JDBC data type
body: <p>Many RDBMS support "CURSOR" types of some sort. Those types are mostly useful when returned from stored procedures. An example in Oracle:</p>
  
  <pre class="lang-sql prettyprint-override"><code>TYPE t_cursor_type IS REF CURSOR;
  CREATE PROCEDURE p (c OUT t_cursor_type);
  </code></pre>
  
  <p>When calling this procedure using JDBC, the <code>OracleTypes.CURSOR = -10</code> "JDBC" type should be used. This type is not part of any standard and it is not going to be part of JDBC 4.1 in Java 7.</p>
  
  <p>Does anyone know whether the JSR guys will consider adding this type to the standard some time in the future? Or if other RDBMS have a similar "vendor-specific type"?</p>