DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to.
DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued

Dmitry Buzdin added a comment - 14/Sep/12 11:17 AM At the moment if you would do something like this it works:
@ElementCollection(targetClass = java.lang.String.class, fetch = FetchType.EAGER)
java.lang.String[] nodes;
Lists and Sets are not handled however. Since Neo4j stores only arrays conversions from and to collections should be coded.

No idea what your comment about Lists/Sets means, since this issue is for providing support for arrays; obviously if anyone has problems they can demonstrate them with valid testcases (against an issue for that situation, not something unrelated). In the same way, if people want to attach a patch to provide some feature then they can do so.

Andy Jefferson added a comment - 17/Sep/12 01:21 PM No idea what your comment about Lists/Sets means, since this issue is for providing support for arrays; obviously if anyone has problems they can demonstrate them with valid testcases (against an issue for that situation, not something unrelated). In the same way, if people want to attach a patch to provide some feature then they can do so.

What I am saying that Arrays are already supported in Neo4j implementation. And the example above show the working mapping for arrays. Or there is something wrong with the issue description. The feature, which is not supported is mapping of Lists and Sets. It is not a bug, since the code is not yet there. Wanted to help to build a proper backlog for this module.

Dmitry Buzdin added a comment - 17/Sep/12 05:40 PM What I am saying that Arrays are already supported in Neo4j implementation. And the example above show the working mapping for arrays. Or there is something wrong with the issue description. The feature, which is not supported is mapping of Lists and Sets. It is not a bug, since the code is not yet there. Wanted to help to build a proper backlog for this module.

Yes, various things are not implemented (but that includes general support for arrays ... maybe one isolated case works but many others don't. A simple way of demonstrating which don't work is by running "test.jdo.general" against neo4j
mvn clean test -Pneo4j

If you find other features not yet added then raise separate issues for them, preferably mentioning which test.jdo.general test fails.

Andy Jefferson added a comment - 17/Sep/12 06:00 PM Yes, various things are not implemented (but that includes general support for arrays ... maybe one isolated case works but many others don't. A simple way of demonstrating which don't work is by running "test.jdo.general" against neo4j
mvn clean test -Pneo4j
If you find other features not yet added then raise separate issues for them, preferably mentioning which test.jdo.general test fails.

Andy Jefferson added a comment - 19/Sep/12 12:36 PM SVN trunk should support primitive/primitive-wrapper/String arrays now, as well as arrays of element types that are persistable as String (e.g URL[], Currency[])