@NodeEntityScan是否存在于Spring Boot 1.4.0.RELEASE中?

时间:2016-08-18 08:42:22

标签: spring-boot neo4j spring-data-neo4j-4

根据http://docs.spring.io/spring-boot/docs/1.4.0.RELEASE/reference/htmlsingle/#boot-features-neo4j,有一个@NodeEntityScan注释:

  

您可以使用@NodeEntityScan注释自定义实体扫描位置。

根据http://docs.spring.io/spring-boot/docs/1.4.0.M3/api/org/springframework/boot/neo4j/NodeEntityScan.html,它存在于版本spring-boot 1.4.0.M3

http://docs.spring.io/spring-boot/docs/1.4.0.RELEASE/api/org/springframework/boot/neo4j/NodeEntityScan.html表明它在1.4.0.RELEASE中并不存在,我无法提及它。

这个注释是否存在于spring boot 1.4.0.RELEASE中?这是文档尚未更新的情况吗?应该使用什么?

1 个答案:

答案 0 :(得分:1)

Spring Boot 1.4具有通用注释org.springframework.boot.autoconfigure.domain.EntityScanJavaDoc),它注册包以扫描JPA,Neo4J,MongoDB,Cassandra和Couchbase的实体。

相关问题