Introduce a flag to switch to a new serialization strategy

Description

With we simplified the fields needed to encode IdSourceKey, which certain dialects serialize directly into a buffer stored by the data store (e.g. Ehcache and Infinispan embedded).

We decided to not break serialization compatibility, however we should introduce a flag or a strategy to eventually move on to the leaner format.

Especially new applications should be encouraged to use the new schema.

See Ehcache's SerializableIdSourceKey and Infinispan's IdSourceKeyExternalizer

Environment

None

Activity

Show:
Sanne Grinovero
August 19, 2016, 9:24 AM

See also https://github.com/hibernate/hibernate-ogm/pull/756 for the previous encoding changes

Assignee

Unassigned

Reporter

Sanne Grinovero

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major
Configure