I have a table with columns as rows. Now I want to apply restriction on multiple rows with "and" condition.how can we do this using hibernate criteria? Example :Employee table Pk ColumnName. Value 1. Empid. 10 1 EmpName. Sachin 1. Empsalary. 10,000 2 Empid. 20 2 EmpName. Dhoni 2. Empsalary. 8000 So now i want to fetch pk's which have EmpName as sachin and empsal as 10,000 So it should return pk as 1.
And
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)