ResultSet set = statement.executeQuery("SELECT * FROM " + getTable().getTableName() + " where id = " + id);
if (set.next()) {
idFound = set.getInt("id");
initializeFromResultSet(map, set);
} else {
throw new ItemException(ItemException.ErrorType.ITEM_DOESNT_EXIST);
}
set.close();
statement.close();
} catch (SQLException e) {
throw new UnableToInitializeException(e);