@Retention(value=RUNTIME) @Target(value=FIELD) @Documented @Inherited @API(status=STABLE, since="6.0") public @interface GeneratedValue
An internal id has no corresponding property on a node. It can only retrieved via the built-in Cypher function
id()
.
To use an external id generator, specify on the
Modifier and Type | Optional Element and Description |
---|---|
Class<? extends IdGenerator<?>> |
generatorClass |
String |
generatorRef |
Class<? extends IdGenerator<?>> |
value |
@AliasFor(value="generatorClass") public abstract Class<? extends IdGenerator<?>> value
generatorClass()
@AliasFor(value="value") public abstract Class<? extends IdGenerator<?>> generatorClass
GeneratedValue.InternalIdGenerator
, which indicates database generated values.public abstract String generatorRef
Copyright © 2019–2020 Neo4j, Neo4j Sweden AB. All rights reserved.