spring-projects/spring-data-neo4j — pull request #171 by nickithewatt (2014-04-06 23:00:06+00:00)
Title: DATAGRAPH-445: Added @Indexed(unique=true, failOnDuplicate=[true|false])...

@jexp addition of failOnDuplicate to @Indexed. At present, this allows the raw ConstraintViolationException to propagate up, do we want to change this to throw something more friendly? Also the Rest based calls work slightly differently and land up using an IllegalStateException to indicate duplicate errors. Let me know if you want me to change these.