-
Bug
-
Resolution: Done
-
Critical
-
8.0.0.GA
-
False
-
None
-
False
-
-
-
-
-
-
+
-
Known Issue
-
-
An entity model that orders a collection by an association of the element fails with an UnsupportedOperationException.
@Entity(name = "Task") public static class Task { @Id private Long id; @OneToMany(mappedBy = "task") @OrderBy("assignee ASC") private List<TaskVersion> taskVersions; } @Entity(name = "TaskVersion") public static class TaskVersion { @Id private Long id; @ManyToOne(fetch = FetchType.EAGER) @JoinColumn(name = "assignee", nullable = true) private User assignee; @ManyToOne(fetch = FetchType.EAGER) @JoinColumn(name = "task_id", nullable = false) private Task task; private String name; } @Entity(name = "UUser") public static class User { @Id private Long id; private String name; }
- is incorporated by
-
JBEAP-26177 [GSS](8.0.z) Upgrade Hibernate from 6.2.13.Final-redhat-00001 to 6.2.25.Final
- Closed
- incorporates
-
HHH-17623 Loading...