- All Implemented Interfaces:
- Serializable
public class CompoundSpaceId
extends Object
implements Serializable
This Object was created in order to implement GigaSpaces CompoundId logic
Extending this object will result in inherit all the capabilities of CompoundSpaceId
In order to use this, please implement your CompoundId pojo as explained:
use EmbeddedId hibernate annotation on your getter for the compoundId instance in your POJO that holds the conpoundId
use @Embeddable hibernate annotation on your class in order to use this in hivernate
Implement your empty constructor with call to super with the number of values you have in your compoundID
public MyCompoundSpaceId() {
super(2);
}
- See Also:
- Serialized Form