Method getBoolean(int columnIndex)
Return type: boolean
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(true, rs.getBoolean(1));
2
assertEquals(false, rs.getBoolean(1));
3
job.setDurability(rs.getBoolean(3));
4
boolean useForwarding = rsUsers.getBoolean(4);
5
moveable = rset.getBoolean(10);
6
return set.getBoolean(index) ? Boolean.TRUE : Boolean.FALSE;
7
value = new Boolean(rs.getBoolean(index));
8
return rs.getBoolean(mapping.getColumnIndex().intValue()) ? Boolean.TRUE : Boolean.FALSE;
9
boolean nonunique = ind.getBoolean(4);
10
boolean deferrable = rs.getBoolean(8);
11
row.setColumn(name, results.getBoolean(i));
12
row.add(new Boolean(set.getBoolean(i)));
13
boolVal = rs.getBoolean(columnId);
14
newprop.setBooleanValue(rs.getBoolean(i+1+offset));
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.