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

SP-406, BIS-279: no locks for space and database instance

SVN: 27824
parent 4106fea3
No related branches found
No related tags found
No related merge requests found
...@@ -86,8 +86,6 @@ public class SampleDAO extends AbstractGenericEntityWithPropertiesDAO<SamplePE> ...@@ -86,8 +86,6 @@ public class SampleDAO extends AbstractGenericEntityWithPropertiesDAO<SamplePE>
{ {
sample.setModificationDate(new Date()); sample.setModificationDate(new Date());
} }
lockEntity(sample.getDatabaseInstance());
lockEntity(sample.getSpace());
lockEntity(sample.getExperiment()); lockEntity(sample.getExperiment());
lockEntity(sample.getContainer()); lockEntity(sample.getContainer());
hibernateTemplate.saveOrUpdate(sample); hibernateTemplate.saveOrUpdate(sample);
......
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