[infinispan-issues] [JBoss JIRA] (ISPN-4529) Avoid serializing key for storage of metadata in JPACacheStore
Sanne Grinovero (JIRA)
issues at jboss.org
Thu Jul 17 11:06:32 EDT 2014
Sanne Grinovero created ISPN-4529:
-------------------------------------
Summary: 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
Security Level: Public (Everyone can see)
Components: Loaders and Stores
Reporter: Sanne Grinovero
Assignee: Radim Vansa
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.2.6#6264)
More information about the infinispan-issues
mailing list