Search:

Type: Posts; User: michaelmc; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Raised as...

    Raised as https://jira.springsource.org/browse/DATAGRAPH-209
  2. Persistence problems with classes with custom getter return types

    Apologies, I couldn't describe this problem in a better way in the title. Certain NodeEntities and Relationships have nullable properties. I amended the getters in the code to return Optional<Long>...
  3. Happy to put together a commit if you're happy...

    Happy to put together a commit if you're happy with the neo:transactionhandlers namespace idea...

    Michael
  4. Thanks for the advice! I have a component...

    Thanks for the advice!

    I have a component scan on and have annotated the handler with a @Component so in my case it is registered automatically.
    As for how SDN should do it, I don't really have...
  5. Registering a TransactionEventHandler with SDN

    We want to use a (or more than 1 most probably) TransactionEventHandler in our SDN app. There doesn't seem to be an immediately obvious hook to register these using typical Spring XML application...
  6. Replies
    27
    Views
    2,401

    Thanks Michael. Makes sense - context is dirtied...

    Thanks Michael. Makes sense - context is dirtied everytime you are running tests that don't use the spring testing rollback stuff.
    I've applied to the project and uploaded, strangely the test still...
  7. Replies
    27
    Views
    2,401

    Thanks for reminding me, just been able to break...

    Thanks for reminding me, just been able to break it now! Try running the refer test in...
  8. Replies
    27
    Views
    2,401

    I'm a little busy today but I'll see if I can...

    I'm a little busy today but I'll see if I can make the project on GitHub fail with the same errors I was seeing, presumably if you've all got a project you can run and see fail it might make it...
  9. Replies
    27
    Views
    2,401

    Fixed - the test wasn't working properly because...

    Fixed - the test wasn't working properly because in the test context I was missing:

    <tx:annotation-driven mode="proxy"/>

    and the non test wasn't working because I defined the annotation...
  10. Using the EmbeddedServerConfigurator with custom properties in a Spring bean

    More of a general Spring question I guess....the WrappingNeoServerBootstrapper is working great locally but by design I can't see it except on localhost. To expose it to be seen from any client, I...
  11. Replies
    27
    Views
    2,401

    FYI, I've actually found a slight difference -...

    FYI, I've actually found a slight difference - reading through the docs:

    It must not be a primitive type because then the "non-attached" case can not be represented as the default value 0 would...
  12. Replies
    27
    Views
    2,401

    If it helps, this is the particular stack trace...

    If it helps, this is the particular stack trace exception at this point:

    org.neo4j.graphdb.NotInTransactionException
    at...
  13. Replies
    27
    Views
    2,401

    I've tried to reproduce this in a project on...

    I've tried to reproduce this in a project on GitHub and annoyingly it always seems to work there.

    I am confident everything is fine with my Spring setup (I've got tests that prove that a simple...
  14. Replies
    27
    Views
    2,401

    Annoyingly I've written a bunch of unit tests...

    Annoyingly I've written a bunch of unit tests which all work perfectly with my sample application on github, which makes what I am running into even weirder. I've put the github stuff in as I think...
  15. Replies
    27
    Views
    2,401

    Thanks Michael, Just putting a tets up into...

    Thanks Michael,

    Just putting a tets up into GitHub now. The dependencies are almost the same as the hello world example, and my app context is as follows:

    <?xml version="1.0" encoding="UTF-8"...
  16. Replies
    27
    Views
    2,401

    Applying transaction boundaries

    This kind of follows on from this this post here (http://forum.springsource.org/showthread.php?121573-Best-practices-for-persisting-relationships-with-properties)

    What I am trying to do is have...
  17. Replies
    5
    Views
    401

    No problem - raised. I changed the single...

    No problem - raised. I changed the single relationship to be a Set to get around this limitation, and I find that both nodes are set, and the relationship is navigable from either side. Happy days!
    ...
  18. Replies
    5
    Views
    401

    Made this into a gist for easier reading: ...

    Made this into a gist for easier reading:

    https://gist.github.com/1663559
  19. Replies
    5
    Views
    401

    Thanks for the help with this - must have missed...

    Thanks for the help with this - must have missed that in the docs. I setup a unit test and actually didn't get this to pass, the unit test can be found here -...
  20. Replies
    5
    Views
    483

    It'd probably look a little strange in our model...

    It'd probably look a little strange in our model as that property is a long in all the other systems where it is used, but on the plus side it would mean we could have a findByMemberId method in the...
  21. Replies
    5
    Views
    401

    Single relationship annotation

    There is at least one case I can think of where it is useful that a relationship is zero or one rather than a collection - the typical case of a referrer/referee relationship, whereby I may refer...
  22. That definitely makes sense, thank you. I've gone...

    That definitely makes sense, thank you. I've gone with option 3, but taking the Person and creating the Friendship within the method. It seemed like the most natural in the domain-driven sense...
  23. Thanks Michael, they all seem like pretty good...

    Thanks Michael, they all seem like pretty good options to me, did you have a personal preference?

    Presumably I wouldn't actually need the template at all in the third case, if I added the friend...
  24. Just to be clear, I'm looking at this page in the...

    Just to be clear, I'm looking at this page in the documents - http://static.springsource.org/spring-data/data-graph/snapshot-site/reference/html/#tutorial_relationships.

    Role role =...
  25. Replies
    5
    Views
    483

    I think I think found other info on the boards...

    I think I think found other info on the boards about this - http://forum.springsource.org/showthread.php?118209-Indexed-Numeric-values-in-Cypher-queries-not-working&highlight=cypher+numeric

    I've...
Results 1 to 25 of 27
Page 1 of 2 1 2