" where oid = $1");
query.bind(b.getOid());
List bList = (List) query.execute();
assertEquals(1, bList.size());
TestClassBProxyI bI = (TestClassBProxyI) bList.get(0);
//bI should now be a dynamic proxy
assertTrue(ProxyHelper.isProxy(bI));
TestClassAWithBProxy a = new TestClassAWithBProxy();