Method getShort(int columnIndex)
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(1));
2
assertEquals((short) 0, rs.getShort(1));
3
Integer intobj = new Integer(result.getShort(2));
4
cinfo.setType((int) columns.getShort(5));
5
return new Short(rs.getShort(mapping.getColumnIndex().intValue()));
6
short seq = rs.getShort(5);
7
return (Short) handleNullReturn(new Short(i_resultSet.getShort(column)));
8
int type = col.getShort(5);
9
f[i].setShort(obj, rs.getShort(i + 1));
10
row.add(new Short(set.getShort(i)));
11
shortVal = rs.getShort(columnId);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.