BAEL-2339 || ResultSet Demo
BAEL-2339 || ResultSet Demo
This commit is contained in:
+5
-1
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user