Fixes compatibility issues with native mysql adapter class definition. Also, the JDBC connection object returns SQL results in Array form, this change handles that.