ORDER BY createdAt added to hibernate and JPA DAO implementations