Hi, I created a new database and now it works fine. Must have been an inconsistency in the development/test environment.
Thanks Andrea 2008/7/30, Igor Vaynberg <[EMAIL PROTECTED]>: > > 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] > >