In my java program, I have two lists of the form: (1,2,3,5,..),
how could I select the difference between these list from the database side?

I dont' want to write code to do it.

Thanks in advance