Hi,

i am using OJB since 1 and 1/2 years. This week i tried to move from
Version 1.0 to 1.0.1.

I detected the following problem:

I have two objects of two different classes (aClass and bClass) with the
same base class.
I use strings as primary keys. Object a has the string 'WR' as pk, object b
the string 'X3'.
If i first search for object of aClass with objectId = WR and then for
object of bClass with objectID = X3, i retrieve the object a two times.

The reason seems to be that both strings are mapped two the same Integer in
org.apache.ojb.broker.Identity.hashCode()

This behaviour of the Object Cache was not in OJB 1.0.

Is this a known problem in OBJ 1.0.1?

Best regards

Nikolaus Bininda.


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

Reply via email to