Closed
Description
If you want to use a generic implementation of SessionRepository, it causes issues with saving at the moment. For example, the following will not work:
SessionRepository<? extends Session> repo = ..
Session session = repo.getSession(sessionId);
...
repo.save(session);
If we create a specific repository it cannot be wired using
@Autowired
SessionRepository<Session> repo;
since the generic type is different.
Metadata
Metadata
Assignees
Labels
No labels