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