float decimalFloat = rs.getFloat(1);
float decimalFloat = rs.getFloat(2);
    public void testFloat() throws Exception {        Statement stmt = connection.createStatement();        ResultSet rs = stmt.executeQuery(SELECT_RECORD);        assertTrue("ResultSet should not be empty.", rs.next());        float decimalFloat = rs.getFloat(1);        assertTrue("DECIMAL(18,2) of 10.0/3.0 should be exactly 3.33 instead of " +            decimalFloat, decimalFloat == (float)3.33);        float numeric32Float = rs.getFloat(2);        assertTrue("NUMERIC(8,2) of 10.0/3.0 should be exactly 3.33 instead of " +            numeric32Float, numeric32Float == (float)3.33);        float numeric16Float = rs.getFloat(3);        assertTrue("NUMERIC(2,2) of 10.0/3.0 should be exactly 3.33 instead of " +            numeric16Float, numeric16Float == (float)3.33);        float floatFloat = rs.getFloat(4);        assertTrue("FLOAT of 10.0/3.0 should be the same to 3.33 instead of " +            floatFloat, floatFloat == (float)3.33);        float doubleFloat = rs.getFloat(5);        assertTrue("DOUBLE PRECISION of 10.0/3.0 should be the same to 3.33 instead of " +            doubleFloat, doubleFloat == (float)3.33);    }