Thank you for the hint. To Continent.java, I added
| public boolean equals(Object obj) {
| if(obj != null) {
| return (this.name == ((Continent)obj).getName());
| }
| else return false;
| }
|
| public int hashCode() {
| return this.name.hashCode();
| }
|
and it
Override hashcode() and equals() on your entity
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121247#4121247
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121247
___
jboss-u