In my JavaFX application When I use Non Lazy Collection option with EmbeddedId class, for maintain bidirectional relation ship it will produce following excepti
Excerpt from JPA 2.0 Specification, chapter 11.1.38 OrderBy Annotation:
The dot (".") notation is used to refer to an attribute within an embedded attribute. The value of each identifier used with the dot notation is the nameof the respective embedded field or property.
so you should rather annotate workflowStepList
with:
@OrderBy(value = "id.stepSeqNo")
private List workflowStepList;
thus indicating that stepSeqNo
belongs to WorkflowStep
embeddable.