title: Given a 'java.sql.SQLIntegrityConstraintViolationException' is it possible to determine column('s) in error
body: <p>Given I have an exception of type 'java.sql.SQLIntegrityConstraintViolationException'</p>
  
  <p>Is it possible to programmatically determine the column (or columns) in error? I ask this because I would like to map the error back to the client's data model to indicate field in error (for example a violation of a unique key).</p>
  
  <p>For example given a duplicate value is attempted to be inserted on a table, the 'java.sql.SQLIntegrityConstraintViolationException' exception would be thrown with the following message:</p>
  
  <blockquote>
    <p>The statement was aborted because it would have caused a duplicate key
    value in a unique or primary key constraint or unique index identified
    by 'INDEX_NAME' defined on 'COLUMN_NAME'.</p>
  </blockquote>
  
  <p>Having the error type, and fields in error would allow the client to nicely indicate which input was in error, and the error message.
  I guess I could try passing the error message, to get the info that I need (obviously that would not be a nice solution.)</p>
  
  <p>Does anyone know of a good way to extract the column in error from the exception?</p>