Skip to content

Delete all method parsing does not work for related node properties #2685

@danielfedeai

Description

@danielfedeai

I have two different nodes: components and functions, functions relate to components, both having "entityId" and "tenantId".
I created a repository interface extending Neo4jRepository

What works is a a method:
List findAllByComponentEntityIdAndTenantId(String componentEntityId, String tenantId);
returning a list of functions that have a related component with the given entityId.

What does not work is the same for deleting functions:
Long deleteAllByComponentEntityIdAndTenantId(String componentEntityId, String tenantId);

Looks like the translation to cypher is creating a wrong query.

Spring Data Neo4j Version 6.3.3

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions