FastKey
FastKey is a hack to enable fool proof and fast operation of caches for Entity
In the case of complex PK if a developer misses hash and equals the maps won't
properly work in jboss. Here we provide an wrapper to the DB Key and the hash
is over-written so that we never miss a hit in cache and have constant speed.
equals(java.lang.Object object)
This method uses the id implementation of equals if the mo is
null since this indicates that the id class did implement equals.
This method uses the id implementation of equals if the mo is
null since this indicates that the id class did implement equals.
If mo is not null, then the MarshalledObject equals is used to
compare keys based on their serialized form. Relying on the
serialized form does not always work.