Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Cannot Reproduce
-
1.5.9
-
None
-
java 1.7 with 1.5.9 version.
Description
public <T> T getObject(String columnLabel, Class<T> type) throws SQLException;
integer column reading as string .But iam passing class as second parameter to getObject Method.
In mysql the value returning as String .
But in Maria DB driver it is giving as Integer.
Hi banesh
I'm not sure to understand issue well : column type is integer, and you use Resultset.getObject(int columnIndex, Class<T> type), with parameter String.class ?
I've test this with mysql/mariadb connector with different version without any issue :
rs.next();
}
}
}
resulting in :
java.lang.Integer 1
java.lang.String 1