List<Tag> list = new ArrayList<Tag>();
try {
ResultSet result = selectAllStatement.executeQuery();
while (result.next()) {
list.add(new Tag(result.getInt("id"), this));
}
result.close();
} catch (SQLException e) {
throw new ItemException(Type.SELECT_ERROR, e);
}