Method getShort(String columnName)
Return type: short
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
assertEquals(s, rs.getShort("column"));
2
assertEquals((short) 0, rs.getShort("column"));
3
short dt = r.getShort("DATA_TYPE");
4
tempType.addElement(new Short(colList.getShort("DATA_TYPE")));
5
short indexType = r.getShort("TYPE");
6
short keySequence = foreignKeys.getShort("KEY_SEQ");
7
return new Short(rs.getShort(mapping.getColumnName()));
8
if (r.getShort("dat") != 0) {
9
if (rsCols.getShort("TYPE") == DatabaseMetaData.tableIndexStatistic) continue;
10
short keySeq = exportedKeyRs.getShort("KEY_SEQ");
11
return (Short) handleNullReturn(new Short(i_resultSet.getShort(column)));
12
value = new Short(set.getShort(dbcol));
13
shortVal = rs.getShort(columnId);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.