title: Squirrel SQL Exception Logging
body: <p>I am developing a JDBC driver which is a wrapper for a web service. My unit tests work fine and I can write my own Java code that uses the driver to do useful things.</p>
  
  <p>When I plug it into <a href="http://squirrel-sql.sourceforge.net/" rel="nofollow">Squirrel SQL</a> it is able to connect and get its initial batch of metadata (properties, schemas/catalogs, etc), but a simple <code>SELECT</code> query does not work. I receive an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/InvocationTargetException.html" rel="nofollow"><code>InvocationTargetException</code></a>. This means a reflective call failed inside the method or constructor being invoked: this exception always wraps another exception which shows what <em>really</em> failed.</p>
  
  <p>However, the error window in Squirrel SQL simply shows the exception name: no wrapped exception/cause, no stack trace. The log in my user directory contains no information regarding what happened.</p>
  
  <p>Looking through the global properties and connection properties, I have not found any settings that would increase logging. I am using Squirrel SQL version 3.5.3 on Java 7 64-bit, Windows 7 64-bit.</p>
  
  <p>How can I get Squirrel SQL to provide more information to help me find the cause of this error? I do not care if it outputs to the log file or the error window, just so I have something to go by.</p>