Please convert the following SQL Query to a Criteria Query——— I have the following table PEOPLE- ID Name Code 1 Tom A 2 Harry B 3 Tom C 4 John A 5 Sally C 6 Tom B 7 Tom D The query must return the list of records that satisfies the conditions- Name=’Tom’ AND Code=’A’ or ‘B’ or ‘C’ —-In
Tag: hibernate-criteria
translate sql to criteriaBuilder
Hello everyone, i dont now how to change sql request in CriteriaBuilder. I am stuck on this line: I will be very grateful for your help or at least links to interesting material. Answer maybe to someone helps