Details
-
Enhancement
-
Resolution: Unresolved
-
Major
-
None
-
9.3.1.Final
-
None
Description
The JpaStore explicitly disallows @GeneratedValue annotations as this would not work for insertions - key must be known to cache before the value is persisted.
However this could work if JpaStore works against existing database and never inserts new entities - only reads/updates/deletes existing ones. In such case we always know the id ahead - we only need a way to detect that the id was not set and fail in that case.