No, but if your table has a lastupdate column you can query by date desc and return the top of it using query.getMaxResult