refactor(TranscriptionBlock): document EAGER fetch rationale
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -35,6 +35,8 @@ public class TranscriptionBlock {
|
|||||||
@Column(columnDefinition = "TEXT")
|
@Column(columnDefinition = "TEXT")
|
||||||
private String text;
|
private String text;
|
||||||
|
|
||||||
|
// EAGER: mention set is bounded by block text length (typically < 20 entries).
|
||||||
|
// Switching back to LAZY requires callers to be inside an open Hibernate session.
|
||||||
@ElementCollection(fetch = FetchType.EAGER)
|
@ElementCollection(fetch = FetchType.EAGER)
|
||||||
@CollectionTable(
|
@CollectionTable(
|
||||||
name = "transcription_block_mentioned_persons",
|
name = "transcription_block_mentioned_persons",
|
||||||
|
|||||||
Reference in New Issue
Block a user