【发布时间】:2017-02-22 13:10:57
【问题描述】:
我已将 uuid 属性添加到我的 SDN 4 Base 实体中,所以现在它看起来像:
@NodeEntity
public abstract class BaseEntity {
@GraphId
private Long id;
@Index(unique = true, primary = true)
private Long uuid;
...
}
现在当我使用 Neo4j Cypher id() 函数时,这个 id(baseEntity) 函数将考虑什么值 - 来自 Long id 或 Long uuid ?
【问题讨论】:
标签: neo4j cypher spring-data-neo4j-4