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

Custom method calls #2

CrystalMethod opened this Issue Nov 14, 2013 · 2 comments


None yet
2 participants

CrystalMethod commented Nov 14, 2013

I would like to have customized method invocations on mapped database nodes.

Given the simple graph model:


I would like to know if a given person is registered somewhere, i.e. if there exists at least one relationship REGISTERED_AT:

public interface Person {
   public Set<Address> getAddresses();
   public boolean hasAddresses();

Even if I could call size()>0? on the returned Set<Address> to get the same result, a dedicated implementation of hasAddresses() is even smarter and mostly faster.


This comment has been minimized.


DirkMahler commented Nov 15, 2013

Feature is implemented an tested in com.buschmais.cdo.neo4j.test.invokeusing.ImplementedByTest, please verify if it meets the requirements.

@ghost ghost assigned DirkMahler Nov 15, 2013


This comment has been minimized.


CrystalMethod commented Nov 15, 2013

Thx, I will give it a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment