public Pixels getPixels() { return sf.getQueryService() .findByQuery( "select p from Dataset d " + "join d.imageLinks dil " + "join dil.child img " + "join img.pixels p where d.id = " + d.getId(), null); }
/** * checks for the necessary fields and initializes the {@link ImportLibrary} * * @throws Exception */ public void setUp() throws Exception { d = new Dataset(); d.setName(UUID.randomUUID().toString()); d = sf.getUpdateService().saveAndReturnObject(d); File tinyTest = ResourceUtils.getFile("classpath:" + FILENAME); // super.put( tinyTest, d ); // super.setUp(); }