解决方法
您可以使用通用
getObject方法:
Gets the value of the designated column in the current row of this
ResultSet object as an Object in the Java programming language.This method will return the value of the given column as a Java object. The type of the Java object will be the default Java object type corresponding to the column’s sql type,following the mapping for built-in types specified in the JDBC specification. If the value is an sql NULL,the driver returns a Java null.