gjrwebber / spring-data-gremlin

Spring data gremlin makes it easier to implement Graph based repositories. This module extends Spring Data to allow support for potentially any Graph database that implements the Tinkerpop Blueprints 2.x API.
69 stars 54 forks source link

Allow for IDs other than String #13

Open gjrwebber opened 9 years ago

gjrwebber commented 9 years ago

Currently only Strings are allowed as the mapped vertex ID. A workaround is to add a GremlinPropertyEncoder to the JpaSchemaGenerator which can encode/decode to anything.