我在MERGE (author:Author { name: a.name })上得到了错误的MERGE (author:Author { name: a.name })。我用大小写展开的用法非常类似于中的WITH n,[{name:"john"}] AS a, [{name:"computer_stuff"}] AS t CASE
@Entity @ManyToOne(cascade = {CascadeType.PERSIST, CascadeType.MERGE, CascadeType.REFRESH})}Parent p = new Parent("parent");Child child =p.setChild(child);
em.persist(p); //works o