|
Thinking right now about introducing an abstract `RedisDialect` to provide a base for a `RedisJsonDialect` and a `RedisHashDialect`. I don't think that mapping associations by abusing Redis' data structures makes sense. I would keep the associations as JSON but without embedded associations.
What's the reason for one to use the hash strategy?
-
Interoperate with other systems that use hashes
-
Use a more natural mapping of data in Redis
-
Do not deal with mapping patterns that do not feel just right
WDYT?
|