Sorting by Date , I can't solve it [message #1033529] |
Thu, 04 April 2013 06:30  |
Eclipse User |
|
|
|
I have Entities object graph like that .
@Entity
....
public class ReferralRequestEO implements Serializable
{
....
private List<ReferralSpecialtyEO> specialties;
}
@Entity
....
public class ReferralSpecialtyEO implements Serializable
{
......
private WorkflowTransitionEO activeTransition;
}
@Entity
.....
public class WorkflowTransitionEO implements Serializable
{
......
@Temporal(Temporal.TimeStamp)
private Date transitionDate;
@oneToOne
joinColumn(...)
private InstructionEO instruction;
}
@Entity
.....
public class InstructionEO implements Serializable
{
private String instructionType;
}
From the above object graph , i would like to know what is the latest WorkflowTransition whose instructiontype "APPROVED" for all referralRequests .
i am using EclipseLink , Spring 3.0 and JSF 2.0
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06157 seconds