throws SQLException
{
final Slot<Iterator<Realm>> result = new Slot<Iterator<Realm>>();
final DBConnection connection = getConnection();
try {
connection.query(REALMS, new DBQueryHandler() {
public boolean shouldClose() { return false; }
public void onResults(ResultSet set)
throws SQLException
{
result.set(new DBIterator<Realm>(set,new DBResultConstructor<Realm>() {