1

How can I write criteria query to this following sql query.

select i.item_id,i.item_name,l.item_price 
from items i,pricelists l,sections s 
where i.id=100 and l.item_id=100 
and i.item_id not in (select s.item_id where s.id=100);

Thanks in Advance

Daniel Daranas
  • 22,454
  • 9
  • 63
  • 116
Amarnath
  • 31
  • 1
  • 5

1 Answers1

1

Here's a link to an article on some basic Hibernate Criteria examples, and here's a link to a question here on SO where the "NOT IN" was solved.

Community
  • 1
  • 1
Aaron
  • 55,518
  • 11
  • 116
  • 132