[infinispan-issues] [JBoss JIRA] (ISPN-4533) Support composite key identifiers

Radim Vansa (JIRA) issues at jboss.org
Thu Oct 16 02:20:35 EDT 2014


     [ https://issues.jboss.org/browse/ISPN-4533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radim Vansa updated ISPN-4533:
------------------------------
    Assignee:     (was: Radim Vansa)


> Support composite key identifiers
> ---------------------------------
>
>                 Key: ISPN-4533
>                 URL: https://issues.jboss.org/browse/ISPN-4533
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Loaders and Stores
>            Reporter: Sanne Grinovero
>
> 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.3.1#6329)


More information about the infinispan-issues mailing list