In MySQL, the column is tinyint(1), but I got bit in JDBC when using this code:
ResultSet rs=statement.executeQuery(singleSql);
int columnType=rs.getMetaData().getColumnType(1);
In MySQL, the column is tinyint(1), but I got bit in JDBC when using this code:
ResultSet rs=statement.executeQuery(singleSql);
int columnType=rs.getMetaData().getColumnType(1);