Skip to content
Snippets Groups Projects
Commit d8df6fca authored by felmer's avatar felmer
Browse files

SP-406, BIS-279: Reverting adding locks for sample parents because...

SP-406, BIS-279: Reverting adding locks for sample parents because MultiThreadSampleOptimisticLockingTest breaks

SVN: 27868
parent aef3f62a
No related branches found
No related tags found
No related merge requests found
...@@ -88,7 +88,7 @@ public class SampleDAO extends AbstractGenericEntityWithPropertiesDAO<SamplePE> ...@@ -88,7 +88,7 @@ public class SampleDAO extends AbstractGenericEntityWithPropertiesDAO<SamplePE>
} }
lockEntity(sample.getExperiment()); lockEntity(sample.getExperiment());
lockEntity(sample.getContainer()); lockEntity(sample.getContainer());
lockEntities(sample.getParents()); // lockEntities(sample.getParents());
hibernateTemplate.saveOrUpdate(sample); hibernateTemplate.saveOrUpdate(sample);
if (doLog && operationLog.isInfoEnabled()) if (doLog && operationLog.isInfoEnabled())
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment