Method getBoolean(String columnName)
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("column"));
2 assertEquals(false, rs.getBoolean("column"));
3 boolean nonUnique = r.getBoolean("NON_UNIQUE");
4 replyToList = rs.getBoolean("reply_to_list");
5 return rs.getBoolean(mapping.getColumnName()) ? Boolean.TRUE : Boolean.FALSE;
6 if (!rsCols.getBoolean("NON_UNIQUE")) continue;
7 tuple[10] = Integer.toString(rs.getBoolean("attnotnull") ? java.sql.DatabaseMetaData.columnNoNulls : java.sql.DatabaseMetaData.columnNullable).getBytes(); // Nullable
8 boolean isRoot = resultSet.getBoolean("is_root");
9 value = new Boolean(set.getBoolean(dbcol));
10 boolVal = rs.getBoolean(columnId);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.