BAEL-2339 || ResultSet Demo

BAEL-2339 || ResultSet Demo
This commit is contained in:
Venkata Kiran Surapaneni
2019-01-20 00:08:52 -05:00
parent a9bb38b8fc
commit f5c4e3af74
2 changed files with 330 additions and 1 deletions
@@ -47,5 +47,9 @@ public class Employee {
public void setPosition(String position) {
this.position = position;
}
@Override
public boolean equals(Object obj) {
return this.getId() == ((Employee) obj).getId();
}
}