Method getInt(String columnName)
Return type: int
Member of: java.sql.ResultSet
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 setAD_PInstance_ID(rs.getInt("AD_PInstance_ID"));
2 int id = resultSet.getInt("id");
3 assertEquals(0, rs.getInt("column"));
4 assertEquals((int) 0, rs.getInt("column"));
5 int id = resultSet.getInt("id");
6 int actual = rs.getInt("col1");
7 buffer.append(results.getInt("id"));
8 int numPlays = resultSet.getInt("NUMPLAYS");
9 int ID = rs.getInt("AD_Process_ID");
10 id = new Integer(rs.getInt("threadId"));
11 descr.setID(rs.getInt("ID"));
12 int csize = r.getInt("COLUMN_SIZE");
13 int companyId = result.getInt( "companyId" );
14 int iDataType = rs.getInt("DATA_TYPE");
15 assertTrue( rs.getInt("DATA_TYPE") == java.sql.Types.INTEGER );
16 number = Integer.toString(rs.getInt("NUM") + 1);
17 mockResultSet.getInt("id");
18 format(String.valueOf(r.getInt("COLUMN_SIZE")), 15) + " " +
19 int sqlType = columnRs.getInt("DATA_TYPE");
20 keySeq = colList.getInt("KEY_SEQ");
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.