Hibernate Query - Get latest versions by timestamp?
- by Slim
I have a database that is being used as a sort of version control system. That is, instead of ever updating any rows, I add a new row with the same information. Each row also contains a version column that is a date timestamp, so the only difference is the new row will have a more recent timestamp.
What I'm having trouble with is writing an…