getHibernateTemplate().saveOrUpdate(testResult);\r
}\r
\r
- public TreeTestResult getTestResult(TestResultId id) {\r
- NumericTRId ntrid = (NumericTRId) id;\r
+ public TreeTestResult getTestResult(String uuid) {\r
List<?> list = getHibernateTemplate().find(\r
- "from TreeTestResult where numericResultId.value=?",\r
- ntrid.getValue());\r
+ "from TreeTestResult where uuid=?", uuid);\r
if (list.size() == 0) {\r
return null;\r
} else {\r
public List<TreeTestResult> listResults(TreeSPath path) {\r
List<TreeTestResult> list = getHibernateTemplate().find(\r
"from TreeTestResult res where ? in indices(res.resultParts)",\r
- path);\r
+ path.getAsUniqueString());\r
return list;\r
}\r
\r