hotfix: Fixed 'idle in transaction' connections when loading entityLog #287
@ -74,7 +74,7 @@ public class ManualRedactionEntryEntity implements IBaseAnnotation {
|
||||
@Column
|
||||
private OffsetDateTime softDeletedTime;
|
||||
|
||||
@ElementCollection
|
||||
@ElementCollection(fetch = FetchType.EAGER)
|
||||
@Fetch(FetchMode.SUBSELECT)
|
||||
private List<RectangleEntity> positions = new ArrayList<>();
|
||||
|
||||
|
||||
@ -57,7 +57,7 @@ public class ManualResizeRedactionEntity implements IBaseAnnotation {
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
private FileEntity fileStatus;
|
||||
|
||||
@ElementCollection
|
||||
@ElementCollection(fetch = FetchType.EAGER)
|
||||
@Fetch(FetchMode.SUBSELECT)
|
||||
private List<RectangleEntity> positions = new ArrayList<>();
|
||||
|
||||
|
||||
@ -28,7 +28,6 @@ import lombok.extern.slf4j.Slf4j;
|
||||
@RequiredArgsConstructor
|
||||
@FieldDefaults(makeFinal = true, level = AccessLevel.PRIVATE)
|
||||
@Slf4j
|
||||
@Transactional
|
||||
public class EntityLogService {
|
||||
|
||||
FileManagementStorageService fileManagementStorageService;
|
||||
|
||||
@ -55,7 +55,6 @@ public class ManualRedactionProviderService {
|
||||
}
|
||||
|
||||
|
||||
@Transactional
|
||||
public ManualRedactions getManualRedactions(String fileId, boolean unprocessed) {
|
||||
|
||||
Set<ManualRedactionEntry> entriesToAdd;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user