Hi,
I want to compare 2 tables and have as Result :
the difference between them.
I mean the data that didn't existe in fisrt (PERSON) one comparing to the second one (AUTHENTIFICATION).
Code:
PERSON
- id
- name
- tel
- ...
Code:
AUTHENTIFICATION
- idaut
- Login
- mpass
- FKpersonneid
there is a join between the using :
FKpersonneidI tried this, but id'oesn't work !
Code:
List<Person> lstpers=HibernateTemplate.find(FROM Person WHERE id NOT IN (FROM AUTHENTIFICATION));
I don't find the true QHL syntaxe to create the querry