Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QueryResultProxy not Serializable [DATAGRAPH-311] #874

Closed
spring-projects-issues opened this issue Nov 19, 2012 · 5 comments
Closed

QueryResultProxy not Serializable [DATAGRAPH-311] #874

spring-projects-issues opened this issue Nov 19, 2012 · 5 comments
Labels
type: bug
Milestone

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented Nov 19, 2012

Michael Andrews opened DATAGRAPH-311 and commented

I'm trying to send a mapped Neo4j query result object (a @MapResult Interface, proxied by QueryResultProxy) over to another JVM using Spring Remoting. Seems the QueryResultProxy object graph is not Serializable. I'm not really sure how the QueryResultProxy works - but I think Spring AOP proxies are serializable. Should the QueryResultProxy be Serializable?


Affects: 2.1

Referenced from: commits d1a2892, bf60ad3, 764611c, 8bb6313, bc5a271

@spring-projects-issues
Copy link
Author

@spring-projects-issues spring-projects-issues commented Nov 19, 2012

Michael Hunger commented

Andrew,

QueryResultProxy is only a Java Dynamic Proxy b/c we wanted to make it work with non AOP setups too, but we want to add support for projecting into real classes too, so you can easily transport them over the wire

@spring-projects-issues
Copy link
Author

@spring-projects-issues spring-projects-issues commented Nov 20, 2012

Michael Andrews commented

Michael - Thanks for the reply. That would be great. The @MappedResult is a powerful feature and it would be nice to have the implementation serializable. Neo4j is an exciting technology. Glad there is such rich support for it in Spring Data

@spring-projects-issues
Copy link
Author

@spring-projects-issues spring-projects-issues commented Jan 7, 2013

Michael Andrews commented

Is there a roadmap for this? any update, or fix release set? thanks. M

@spring-projects-issues
Copy link
Author

@spring-projects-issues spring-projects-issues commented Jan 7, 2013

Michael Hunger commented

Michael,

not yet, don't know if we can make it in the next release (2.2.0) I try to but cannot promise. Have to think about if it should align with @NodeEntity mappings with persistence constructor support or a separate feature (just plain DTOs mapped to cypher query results)

@spring-projects-issues
Copy link
Author

@spring-projects-issues spring-projects-issues commented Sep 2, 2013

Nicki Watt commented

Done via PR #124

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug
Projects
None yet
Development

No branches or pull requests

1 participant