>
> sb.append(getterMethod);
> sb.append("().equals(other."); //$NON-NLS-1$
> sb.append(getterMethod);
> sb.append("())"); //$NON-NLS-1$
>
>
> Cheers
> Benjamin
>
> -Ursprüngliche Nachricht-----
> Von: Benjamin Klatt [mailto:benja...@bar54.
ther."); //$NON-NLS-1$
sb.append(getterMethod);
sb.append("())"); //$NON-NLS-1$
Cheers
Benjamin
-Ursprüngliche Nachricht-
Von: Benjamin Klatt [mailto:benja...@bar54.de]
Gesendet: Mittwoch, 25. März 2009 13:32
An: user-java@ibatis.apache.org
Betreff: iBator EqualsHashCod
Hey all,
we found an issue about the equal method.
Imagine you have a data object
-
|Product|
-
|id |
|name |
|desc |
-
And generate the java classes as well as the equal methods (id = Integer,
name&desc = String).
The Code
Product p1 = new Product();
p1