commitTxn();
}
public void testKeyPk_UserProvidedId() throws EntityNotFoundException {
HasKeyPkJPA pojo = new HasKeyPkJPA();
pojo.setId(TestUtils.createKey(pojo, 34));
beginTxn();
em.persist(pojo);
commitTxn();
// the fact that this doesn't throw an exception is the test
ds.get(KeyFactory.createKey(HasKeyPkJPA.class.getSimpleName(), 34));