@Test
public void testBiManyToOne() throws NoSuchFieldException, SecurityException, IllegalArgumentException,
IllegalAccessException
{
PersonBM1 person1 = new PersonBM1();
person1.setPersonId("person1");
person1.setPersonName("vivek");
PersonBM1 person2 = new PersonBM1();
person2.setPersonId("person2");
person2.setPersonName("vivek");
AddressBM1 address = new AddressBM1();
address.setAddressId("addr1");
address.setStreet("streetmto1");
person1.setAddress(address);
person2.setAddress(address);
em.persist(person1);
em.persist(person2);
PersistenceDelegator delegator = CoreTestUtilities.getDelegator(em);