pm.getObjectById(HasStringUUIDPkJDO.class, KeyFactory.keyToString(e.getKey()));
commitTxn();
}
public void testStringUUIDHexPk() throws EntityNotFoundException {
HasStringUUIDHexPkJDO pojo = new HasStringUUIDHexPkJDO("First");
beginTxn();
pm.makePersistent(pojo);
commitTxn();
assertNotNull(pojo.getId());
Entity e = ds.get(KeyFactory.createKey(HasStringUUIDHexPkJDO.class.getSimpleName(), pojo.getId()));
beginTxn();
pm.getObjectById(HasStringUUIDHexPkJDO.class, e.getKey());
pm.getObjectById(HasStringUUIDHexPkJDO.class, e.getKey().getName());
pm.getObjectById(HasStringUUIDHexPkJDO.class, KeyFactory.keyToString(e.getKey()));