Closed ghost closed 6 years ago
Hi Philipp,
The field should be of type java.util.List or a subtype thereof and can contain (arbitrarily) complex objects. Please try it. If it does not work, I will send a working example.
Best regards, Wolfgang
On Wed, Jan 18, 2017 at 7:29 PM, pxnxh notifications@github.com wrote:
Hello!
When i map an Object, primitive fields will be mapped to Node properties, complex types will be mapped to other nodes and linked to the parent.
How can i map a field which is a collections of Complex Types, which means to map it to several nodes of the Type of the List and link them to the parent. Is there a possibility or a workaround, other than a bottom up approach to realize this? It doesnt work if i just put a field of Collection Type in the class of which i intend to map the object.
Thanks in advance!
Philipp
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Wolfgang-Schuetzelhofer/jcypher/issues/30, or mute the thread https://github.com/notifications/unsubscribe-auth/AHI-349vnsYNGRr2OZ9CLUKkQ9ZnG6okks5rTlnvgaJpZM4LnOxL .
Hello!
When i map an Object, primitive fields will be mapped to Node properties, complex types will be mapped to other nodes and linked to the parent.
How can i map a field which is a collections of Complex Types, which means to map it to several nodes of the Type of the List and link them to the parent. Is there a possibility or a workaround, other than a bottom up approach to realize this? It doesnt work if i just put a field of Collection Type in the class of which i intend to map the object.
Thanks in advance!
Philipp