gdamour 2005/03/04 04:35:50
Modified: modules/openejb-builder/src/test/org/openejb/deployment/entity
BasicCMPEntityContainerTest.java
Log:
o synch with the TranQL API updates, which allow to identify EJB having an
unknown primary key class; and
o argument of the findByPrimaryKey method must be declared as java.lang.Object
in the case of an EJB having an unknown primary key class.
Revision Changes Path
1.10 +2 -2
openejb/modules/openejb-builder/src/test/org/openejb/deployment/entity/BasicCMPEntityContainerTest.java
Index: BasicCMPEntityContainerTest.java
===================================================================
RCS file:
/home/projects/openejb/scm/openejb/modules/openejb-builder/src/test/org/openejb/deployment/entity/BasicCMPEntityContainerTest.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- BasicCMPEntityContainerTest.java 20 Feb 2005 15:44:52 -0000 1.9
+++ BasicCMPEntityContainerTest.java 4 Mar 2005 09:35:50 -0000 1.10
@@ -435,7 +435,7 @@
// builder.setConnectionFactoryName("defaultDatasource");
EJBProxyFactory proxyFactory = new
EJBProxyFactory(CONTAINER_NAME.getCanonicalName(), false, MockRemote.class,
MockHome.class, MockLocal.class, MockLocalHome.class);
- EJB ejb = new EJB("MockEJB", "MOCK", Integer.class, proxyFactory);
+ EJB ejb = new EJB("MockEJB", "MOCK", Integer.class, proxyFactory,
null, false);
CMPField pkField = new CMPField("id", Integer.class, true);
ejb.addCMPField(pkField);
ejb.addCMPField(new CMPField("value", String.class, false));