turn on hibernate debug to see, below is not used anywhere in response
org.hibernate.engine.jdbc.spi.SqlStatementLogger: select count(productdet0_.id) as col_00 from productsimple productdet0 where productdet0.dtype='ProductDetail' and productdet0.category=?
turn on hibernate debug to see, below is not used anywhere in response org.hibernate.engine.jdbc.spi.SqlStatementLogger: select count(productdet0_.id) as col_00 from productsimple productdet0 where productdet0.dtype='ProductDetail' and productdet0.category=?