Sanne Grinovero created ISPN-4533:
-------------------------------------
Summary: Support composite key identifiers
Key: ISPN-4533
URL:
https://issues.jboss.org/browse/ISPN-4533
Project: Infinispan
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Components: Loaders and Stores
Reporter: Sanne Grinovero
Assignee: Radim Vansa
The current JPACacheStore doesn't support composite keys, like having multiple
attributed annotated with @Id, but this should be possible to implement as any composite
key is expected to have a corresponding "wrapper class" which encloses each
attribute. This wrapper class would be the identifier for Infinispan too.
The reasonable limitation is that such a key often (but not exclusively) implies a
relation with other entities. As in all other cases we can't allow deletion / creation
of other related things to be reordered, but that is no reason to ban composite keys
altogether as these are very common for other purposes too.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)