Fixed
Details
Assignee
Andrea BorieroAndrea BorieroReporter
Andrea BorieroAndrea BorieroComponents
Sprint
NonePriority
Major
Details
Details
Assignee
Andrea Boriero
Andrea BorieroReporter
Andrea Boriero
Andrea BorieroComponents
Sprint
None
Priority
Created June 14, 2023 at 10:57 AM
Updated June 30, 2023 at 11:45 AM
Resolved June 19, 2023 at 1:50 PM
When
Bytecode
enhancement is enabled, given:@Entity @Proxy(lazy = false) public static class User { @Id Long id; String name; @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "team_id") UserGroup team; } @Entity @Proxy(lazy = false) public static class UserGroup { @Id Long id; String name; }
User user = session.getReference( User.class, 1 ); user.getName();
should not intialize the
User#team
association.