Skip to content

Commit

Permalink
Removed overridden persist, remove, and merge functions from ServiceR…
Browse files Browse the repository at this point in the history
…equestTokenDao to keep consistency with other classes. These functions are now called from AbstractDao.

This was initially included in the spring-hibernate upgrade but is not needed.
  • Loading branch information
Wrekky committed Aug 13, 2024
1 parent 201f2e4 commit 3fab3dd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,4 @@
public interface ServiceRequestTokenDao extends AbstractDao<ServiceRequestToken>{
List<ServiceRequestToken> findAll();
ServiceRequestToken findByTokenId(String token);
void persist(ServiceRequestToken token);
void remove(ServiceRequestToken token);
ServiceRequestToken merge(ServiceRequestToken token);
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,6 @@ public class ServiceRequestTokenDaoImpl extends AbstractDaoImpl<ServiceRequestTo
public ServiceRequestTokenDaoImpl() {
super(ServiceRequestToken.class);
}

@Override
public void persist(ServiceRequestToken token) {
this.entityManager.persist(token);
}

@Override
public void remove(ServiceRequestToken token) {
this.entityManager.remove(token);
}

@Override
public ServiceRequestToken merge(ServiceRequestToken token) {
return this.entityManager.merge(token);
}

@Override
public List<ServiceRequestToken> findAll() {
Expand Down

0 comments on commit 3fab3dd

Please sign in to comment.