Skip to content

Investigate support for complex key types #2448

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
meistermeier opened this issue Nov 22, 2021 · 1 comment
Closed

Investigate support for complex key types #2448

meistermeier opened this issue Nov 22, 2021 · 1 comment
Labels
type: enhancement A general enhancement

Comments

@meistermeier
Copy link
Collaborator

Given our PersonWithCustomId from the test suite:

When altering the PersonId to something like:

@Value
public static class PersonId {
	private final Long id;
	private final String ding;
}

it is not possible to simple query/delete.. byId
This is due to the fact that the converter needs to be not only a GenericConverter but also a Neo4jPersistentPropertyToMapConverter to reflect the composite nature of the property.

The question originally appeared over at https://stackoverflow.com/questions/69976873/how-can-i-query-multiple-nodes-with-complex-key-usind-spring-data-neo4j

@meistermeier
Copy link
Collaborator Author

Solved with #2618

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant