]
Radim Vansa commented on ISPN-4529:
-----------------------------------
I really don't know how to create such dynamic definition and I was not able to find
any information about this.
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.