原文:Ordering by varying columns in JPQL/Hibernate
I have a table of Sessions. Each session has "session_start_time" and "session_end_time". While the session is open, the end time is empty. I want to fetch the list of sessions, and order it by the ...