Hey Russell, Thanks for the reply. I don't think I understand what you offered. (By IComparable - I assume you meant simply Comparable) A and B are not comparable objects. They are entirely different object, and that is why it's so strange... I'm posting the stack trace in a few moments..
Russell Collins wrote: > > It looks like you are trying to add items to a Set. You will get these > casting exceptions if your classes do not implement the IComparable > interface. If they do implement the interface, then it is another issue. > -- View this message in context: http://n2.nabble.com/ClassCastException-in-pcReplaceField-tp4392185p4407472.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
