0
我试图使用Spring Data JPA,Neo4J和MongoDB设置Spring Boot应用程序。目标是能够在每个数据存储中保存不同的实体,以及使用跨商店实体。在Spring Boot中使用多个嵌入式数据存储
该项目似乎与每个单独的店很好地工作,但节省了JPA实体引发此异常:如果我删除所有的Neo4j和MongoDB相关的代码
org.springframework.dao.InvalidDataAccessApiUsageException: No EntityManager with actual transaction available for current thread - cannot reliably process 'persist' call; nested exception is javax.persistence.TransactionRequiredException: No EntityManager with actual transaction available for current thread - cannot reliably process 'persist' call
此异常不提高。
下面是该项目的链接在GitHub上:
github存储库已更新。 – Raphael