fixes NullPointerException with entities using transient fields in detached mode #12

Closed
wants to merge 6 commits into
from

Projects

None yet

2 participants

Contributor
ractive commented Oct 5, 2011

I don't know if this repo is used at all any more and if changes still get merged into the new spring-data-neo4j repo, but for the sake of completness I push this bugfix here as well.

As soon as I have SDN 2.0 up and running locally, I'll redo the fixes there as well.

And I don't know why the first 5 commits show up here, because they already have been pulled into the upstream repo, but anyway. The 6th commit is the interessting one here.

Best regards,
James

ractive added some commits Oct 1, 2011
@ractive ractive OneToNRelationshipFieldAccessor overrides getDefaultImplementation th…
…at returns a HashSet. Makes the previously ignored test shouldWorkWithUninitializedCollectionFieldWithoutUnderlyingState run successfully. Introduced generic types for T and the TARGET entities.
deacee1
@ractive ractive added checks to make sure the relationships get created when the node…
… is persisted
d5a1f74
@ractive ractive Merge branch 'one-to-n-relationship-default-implementation' 7328194
@ractive ractive Merge branch 'readonly-optimization'
Conflicts:
	spring-data-neo4j/src/main/java/org/springframework/data/neo4j/fieldaccess/OneToNRelationshipEntityFieldAccessorFactory.java
7d4b56b
@ractive ractive Merge remote-tracking branch 'upstream/master' 48833c0
@ractive ractive fixes NullPointerException with entities using transient fields in de…
…tached mode.
c4f84d1
Member
jexp commented Oct 20, 2011

Did you issue the pull request for SDN 2.0 as well?

Contributor
ractive commented Oct 21, 2011

No, not yet. This fix must still be ported to 2.0.0

@ractive ractive closed this Dec 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment