412413414415416417418419420421422
assertNotNull(pwkLoaded); } @Test public void testComplexIdQuery() throws Exception { CustomId cId = new CustomId(); cId.id = new ObjectId(); cId.type = "banker"; UsesCustomIdObject ucio = new UsesCustomIdObject(); ucio.id = cId;
427428429430431432433434435436437
assertNotNull(ucioLoaded); } @Test public void testComplexIdQueryWithRenamedField() throws Exception { CustomId cId = new CustomId(); cId.id = new ObjectId(); cId.type = "banker"; UsesCustomIdObject ucio = new UsesCustomIdObject(); ucio.id = cId;
442443444445446447448449450451452
assertNotNull(ucioLoaded); } @Test public void testQBE() throws Exception { CustomId cId = new CustomId(); cId.id = new ObjectId(); cId.type = "banker"; UsesCustomIdObject ucio = new UsesCustomIdObject(); ucio.id = cId;