hibernate/hibernate-ogm — pull request #406 by gunnarmorling (2014-11-17 10:16:15+00:00)
Title: OGM-642 Avoiding read prior to insert if possible

Adding new method `getDuplicateInsertPreventionStrategy()`on `GridDialect`. By default, we do the explicit look-up as before, but of the store itself can detect the situation, we rely on that and omit the additional read.