115116117118119120121122
Assert.assertEquals(4, updateCount); } private void persistPerson(String personId, String personName, int age) { PersonOracleNoSql p = preparePerson(personId, age, personName); em.persist(p); }
121122123124125126127128129130131
em.persist(p); } private PersonOracleNoSql preparePerson(String rowKey, int age, String name) { PersonOracleNoSql person = new PersonOracleNoSql(); person.setPersonId(rowKey); person.setPersonName(name); person.setAge(age); return person; }