Class Overview
Allows multiple entity classes / collection roles to be
stored in the same cache region. Also allows for composite
keys which do not properly implement equals()/hashCode().
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Construct a new key for a collection or entity instance.
Note that an entity name should always be the root entity
name, not a subclass entity name.
Parameters
id
| The identifier associated with the cached data |
type
| The Hibernate type mapping |
entityOrRoleName
| The entity or collection-role name. |
entityMode
| The entiyt mode of the originating session |
factory
| The session factory for which we are caching
|
Public Methods
public
boolean
equals
(Object other)
public
String
getEntityOrRoleName
()