I have the following error using the MySQL ResultSetImpl:
In the project I am taking part of we have the problem, that a ResultSet is being closed before it is used, therefore throwing an exception.
To analyze this error I wanted to put a Thread.dumpStack() in the ResultSet.close() method so I can identify, where the erroneous call is coming from.
To be able to modify the code, I downloaded the MySQL Package from this position and extracted it: http://dev.mysql.com/downloads/connector/j/
I selected "platform independent" packacke for download.
Afterwards I copied the "com" and "org" packages into my project src folder and removed the mysql-jdbc.jar from the lib folder, subsequently removing the jar from the java build path in eclipse project settings.
After project clean and rebuild I got several hundred of compile errors like
Exception SQLException is not compatible with throws clause in Driver.getParentLogger() or
The type FabricMySQLConnectionProxy must implement the inherited abstract method Connection.createSQLXML()`" or
The type CallableStatement must implement the inherited abstract method CallableStatement.getNString(int)`".
Now I am thinking that the MySQL guys should be able to package a compilable jar file, so I am thankful of anything I overlooked and any input on what I should have done differently to make this thing work.