Skip to content

Commit f9fe9e5

Browse files
roemuU239087
andauthored
Added SDN 7 @query support (#85)
Co-authored-by: u239087 <roman.suter2@sbb.ch>
1 parent f20d96e commit f9fe9e5

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

graph-database-plugin/src/main/resources/javaInjections.xml

+17
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,23 @@
9696
</injection>
9797

9898
<!-- Spring Data Neo4j -->
99+
<injection language="Cypher" injector-id="java">
100+
<display-name>Neo4j - SDN7 @Query (org.springframework.data.neo4j.repository.query)</display-name>
101+
<place>
102+
<![CDATA[
103+
psiMethod().withName("countQuery")
104+
.withParameters()
105+
.definedInClass("org.springframework.data.neo4j.repository.query.Query")
106+
]]>
107+
</place>
108+
<place>
109+
<![CDATA[
110+
psiMethod().withName("value")
111+
.withParameters()
112+
.definedInClass("org.springframework.data.neo4j.repository.query.Query")
113+
]]>
114+
</place>
115+
</injection>
99116
<injection language="Cypher" injector-id="java">
100117
<display-name>Neo4j - SDN4 @Query (org.springframework.data.neo4j.annotation)</display-name>
101118
<place>

0 commit comments

Comments
 (0)