Login rootLogin = (Login) factory.getContext().getBean("rootLogin"); ServiceFactory rootFactory = new ServiceFactory( rootLogin ); fixture = new CreatePojosFixture( rootFactory ); fixture.createAllPojos();
    protected void setUp() throws Exception    {        data = (OMEData) factory.getContext().getBean("data");        iPojos = factory.getPojosService();        iQuery = factory.getQueryService();        iUpdate = factory.getUpdateService();        try             {                iQuery.get(Experimenter.class,0l);            } catch (Throwable t){                // TODO no, no, really. This is ok. (And temporary)             }        iQuery.get(Experimenter.class,0l);      // if this one fails, skip rest.    }