neo4j / sdn-rx

Nextgen Spring Data module for Neo4j supporting (not only) reactive data access and immutable support
https://neo4j.github.io/sdn-rx
Apache License 2.0
65 stars 23 forks source link

Automatically generate UUIDs. #232

Closed michael-simons closed 4 years ago

michael-simons commented 4 years ago

In a scenario where a user has defined a class with an id of type java.util.UUID annotated with @Id @GeneratedValue, we can safely assume they want to have those UUIDs generated by us as long as they haven’t defined their own generator (by class or by ref).

This change now treats those ids as externally generated without the need to apply an execplict generator.