Search in sources :

Example 1 with OneOwningSideLocalHome

use of org.apache.openejb.test.entity.cmr.cmrmapping.OneOwningSideLocalHome in project tomee by apache.

the class CmrMappingTests method createOneOwningSide.

private OneOwningSideLocal createOneOwningSide(final Integer id, final Integer field1) throws Exception {
    final OneOwningSideLocalHome home = oneOwningHome;
    final OneOwningSideLocal oneOwningSideLocal = home.create(id, field1);
    oneOwningCreated.add(id);
    return oneOwningSideLocal;
}
Also used : OneOwningSideLocal(org.apache.openejb.test.entity.cmr.cmrmapping.OneOwningSideLocal) OneOwningSideLocalHome(org.apache.openejb.test.entity.cmr.cmrmapping.OneOwningSideLocalHome)

Aggregations

OneOwningSideLocal (org.apache.openejb.test.entity.cmr.cmrmapping.OneOwningSideLocal)1 OneOwningSideLocalHome (org.apache.openejb.test.entity.cmr.cmrmapping.OneOwningSideLocalHome)1