cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Mapping relation properties with unknown names (Spring Data Neo4j)

paulB
Node Clone

I'm not sure my problem can be supported. In my application, I want users to define their own properties for relations (they choose key and value). To retrieves those properties, I make use of @RelationshipProperties. It seems not possible to define an attribute of type Map<String, String> to harvest key value of all properties of the relation.

My question : is there a way to retrieves property we don't know the key in the class mapping?

For information :

  • org.springframework.boot.spring-boot-starter-data-neo4j:2.7.0
  • org.springframework.data.spring-data-neo4j:6.3.0

Thank you for your time.

0 REPLIES 0