Wolfgang-Schuetzelhofer / jcypher

Java access to Neo4J graph databases at multiple levels of abstraction
Apache License 2.0
86 stars 15 forks source link

Bugfix/#45 Embedded db access failes to retrieve list of labels #47

Closed DonCziken closed 5 years ago

DonCziken commented 5 years ago

Fix issue with labels retrieval when using AbstractEmbeddedDBAccess and forcing PlannerStrategy.COST.

Add additional Iterable handler in writeLiteralValue method in AbstractEmbeddedDBAccess as when using PlannerStrategy.COST labels are provided as such and not as Array. I am not sure why such situation occurs and it feels it actually maybe worth for separate investigation.

MR also contains test for verifying if the fix works.

Wolfgang-Schuetzelhofer commented 5 years ago

I have merged your pull request. Thanks for your contribution.

Cheers, Wolfgang