import java.sql.SQLException; import java.sql.Statement; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.*; import javax.sql.*; public class Bug14562 extends testsuite.BaseTestCase { public Bug14562(String name) { super(name); } public void setUp() throws Exception { dbUrl = "jdbc:mysql://localhost:3306/test?user=root"; super.setUp(); } public void testPound14562() throws SQLException { System.out.println("START"); ResultSet rs = null; Statement stmt = conn.createStatement(); rs = stmt.executeQuery("Select * from bug_list"); while (rs.next()) { System.out.println(rs.getObject("id").getClass().getName()); }; System.out.println("END"); } public static void main(String args[]) throws Exception { junit.textui.TestRunner.run(Bug14562.class); } }