parent
bd25e36f72
commit
a1d32a7e29
|
@ -15,12 +15,6 @@ import org.springframework.stereotype.Component;
|
|||
@Component
|
||||
public class AgentRepository extends AbstractRepositoty {
|
||||
|
||||
private final Object addDeleteLock = new Object();
|
||||
|
||||
public Object getAddDeleteLock() {
|
||||
return addDeleteLock;
|
||||
}
|
||||
|
||||
public boolean attach(Agent agentWithoutId) {
|
||||
Session session = this.getSessionHelper().openSession();
|
||||
Transaction transaction = session.beginTransaction();
|
||||
|
|
Loading…
Reference in New Issue