Package: TOPLink.Public.Expressions.* |
Product: TopLink |
Release: 2.1 |
Related Links: |
General
General
General
General
General
|
Comment: |
ReadAllQuery query = new ReadAllQuery(); query.setReferenceClass(amethyst.domain.ParameterLocatie.class); query.setSelectionCriteria(ee); query.addOrdering(exp.get("locatie").get("fieldOmschrijving").ascending()); query.addOrdering(exp.get("grootheid").get("fieldOmschrijving").ascending()); query.addOrdering(exp.get("parameter").get("fieldOmschrijving").ascending()); // Vector parameterLocaties = null; try { parameterLocaties = (Vector) getAmethystclient().getDatabaseSession().executeQuery(query); //Vector parameterLocaties = getAmethystClient().getDatabaseSession().readAllObjects(amethyst.domain.ParameterLocatie.class, e); } catch (Exception e1) { setErrorURL("index.html", e1); return; } System.out.println("found " + parameterLocaties.size() + " parameterLocaties @"); |