Comparing rows between 2 data tables in Hibernate
I wonder whether is it possible to compare rows between 2 separate data tables?

For example. If datatable1 has user1 and datatable2 has user1, the user1 in datatable2 should not exist. My application allows me to select user1 from datatable2, and add it to datatable1.

Any thoughts on this? should I be comparing the row index?


Comparing rows between 2 data tables in Hibernate
===

I wonder whether is it possible to compare rows between 2 separate data tables?

For example. If datatable1 has user1 and datatable2 has user1, the user1 in datatable2 should not exist. My application allows me to select user1 from datatable2, and add it to datatable1.

Any thoughts on this? should I be comparing the row index?

