Select the id, set your data in the testAO and finaly save it.
public Object doInTransaction(){
TestAO testAO = ao.get(TestAO.class,issueXXX.getId());
testAO.setError(issueXXX.getError());
testAO.save();
return null;
}
You can update only one by one, this is the easy way.