Medhavi Srivastava
Medhavi Srivastava

Reputation: 11

Is there a way to apply dense_rank in Hibernate Criteria API?

SQL comes with a dense_rank() function. Is there a way to apply dense_rank in Hibernate Criteria API?

Upvotes: 0

Views: 372

Answers (1)

Medhavi Srivastava
Medhavi Srivastava

Reputation: 11

I realise there Hibernate's Criteria API does not support window functions. I had to write an algorithm for ranking and applied it to the extracted records.

Upvotes: 1

Related Questions