Looks like the neo4j client factory never looks at external properties when instantiating GraphDatabaseService, it only looks at what's in the puMetadata.
Properties props = puMetadata.getProperties();
String datastoreFilePath = (String) props.get(PersistenceProperties.KUNDERA_DATASTORE_FILE_PATH);
if (StringUtils.isEmpty(datastoreFilePath))
{
throw new PersistenceUnitConfigurationException(
"For Neo4J, it's mandatory to specify kundera.datastore.file.path property in persistence.xml");
}
Looks like a bug to me.
Looks like the neo4j client factory never looks at external properties when instantiating GraphDatabaseService, it only looks at what's in the puMetadata.
Looks like a bug to me.