On Wed, Jul 30, 2008 at 3:02 AM, Andrea Jahn <[EMAIL PROTECTED]> wrote:
> Reason is, that the Country class contains an equal() method. Wicket calls
> this method,
> but the comparison of the id delivers "false" (different instances of the
> Integer object).

this doesnt make any sense unless you do int1==int2, which you dont,
you use equals which does not care about instance identity. so if your
ids do not match you have another problem with your db somewhere. use
the debugger and check that the values are actually the same.

-igor

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to