title: java.lang.String cannot be cast to java.sql.Timestamp
body: <p>When I run the code:</p>
  
  <pre><code>System.out.println(this.getDefaultValue().getValue());
  </code></pre>
  
  <p>The console prints:</p>
  
  <blockquote>
    <p>2016-01-26 23:32:12</p>
  </blockquote>
  
  <p>As you can see by the following image, the .getValue() method returns a java.sql.Timestamp object, which has a value as displayed by what the console printed.</p>
  
  <p><a href="https://i.stack.imgur.com/Hjd0Y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Hjd0Y.png" alt="enter image description here"></a>
  Now, an issue arises when I attempt to run this code:</p>
  
  <pre><code>System.out.println(this.getDefaultValue().getValue().toString());
  </code></pre>
  
  <p>The following exception is then thrown;</p>
  
  <blockquote>
    <p>Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot be cast to java.sql.Timestamp
        at com.crystalneth.mysqlapi.columns.time.SQLColumnTimeStamp.getDefaultString(SQLColumnTimeStamp.java:158)
        at com.crystalneth.mysqlapi.columns.time.SQLColumnTimeStamp.format(SQLColumnTimeStamp.java:173)
        at com.crystalneth.mysqlapi.SQLDatabase.dbFixColumn(SQLDatabase.java:708)
        at com.crystalneth.mysqlapi.SQLInitialize.initializeDatabase(SQLInitialize.java:254)
        at com.crystalneth.mysqlapi.SQLDatabase.openConnection(SQLDatabase.java:245)
        at com.crystalneth.mysqlapi.Example.main(Example.java:66)</p>
  </blockquote>
  
  <p>I can't figure out what the issue is, since printing the Timestamp by itself works fine, but the .toString() does not work. Any help is much appreciated, thank you.</p>