| Package | Description |
|---|---|
| org.neo4j.ogm.id | |
| org.neo4j.ogm.metadata | |
| org.neo4j.ogm.session |
| Modifier and Type | Class and Description |
|---|---|
class |
InternalIdStrategy
This strategy will use internally generated Long ids as entity ids
|
class |
UuidStrategy
Generates random UUID as entity id using
UUID.randomUUID(). |
| Modifier and Type | Method and Description |
|---|---|
IdStrategy |
ClassInfo.idStrategy() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends IdStrategy> |
ClassInfo.idStrategyClass() |
| Modifier and Type | Method and Description |
|---|---|
void |
ClassInfo.registerIdGenerationStrategy(IdStrategy strategy) |
| Modifier and Type | Method and Description |
|---|---|
void |
SessionFactory.register(IdStrategy strategy)
Register an instance of
IdStrategy
This instance will be used for generation of ids annotated with
@Id @GeneratedValue(strategy=SomeClass.class) |
Copyright © 2015–2020 Neo Technology, Inc.. All rights reserved.