Currently IDENTITY, TABLE and SEQUENCE strategies are all implicitly mapped to a TABLE-like strategy (which, depending on the capabilities of specific stores is implemented actually in the TABLE sense (MongoDB) or more as an emulation of SEQUENCE (Neo4j).
Instead it should be documented which strategies a store actually supports and an exception should be raised when trying to use a strategy which actually is not supported by the chosen backend.
Note that there is OGM-436 already for properly implementing IDENTITY generation on stores which support it in a meaningful way.
|