[infinispan-issues] [JBoss JIRA] (ISPN-4529) Avoid serializing key for storage of metadata in JPACacheStore

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


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

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


> Avoid serializing key for storage of metadata in JPACacheStore
> --------------------------------------------------------------
>
>                 Key: ISPN-4529
>                 URL: https://issues.jboss.org/browse/ISPN-4529
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Loaders and Stores
>            Reporter: Sanne Grinovero
>
> We don't need to define a MetadataEntity in advance which uses byte[] as a primary key, we could generate the entity as a dynamic definition using the same key of the object.
> That gets us:
> - better storage efficiency
> - no need to unmarshall/marshall
> - options for cascade delete or inline update
> In fact the whole MetadataEntity could (if the user doesn't mind changing his tables) be incorporated in the entity itself.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the infinispan-issues mailing list