Fix some remaining issues from the Spring migration #20
@ -50,6 +50,7 @@ public class NotificationServiceImpl extends AbstractServiceImpl<Notification,Lo
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional
|
||||
public void setRead(User user, NotificationEvent notificationEvent, boolean read) {
|
||||
Iterable<Notification> notifications = findAll(
|
||||
QNotification.notification.notificationEvent.eq(notificationEvent)
|
||||
@ -62,6 +63,7 @@ public class NotificationServiceImpl extends AbstractServiceImpl<Notification,Lo
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional
|
||||
@SuppressWarnings("unchecked")
|
||||
// This looks so wrong but a List<Notification> is what we actually get
|
||||
// during runtime, see SCIPRO-167935. Reflection so awesome...
|
||||
|
Loading…
x
Reference in New Issue
Block a user