Uploaded image for project: 'Spring Data Neo4j'
  1. Spring Data Neo4j
  2. DATAGRAPH-188

Spring Data Neo4j, update documentation to emphasise the non-overlapping of Spring MVC component scanning

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.M1, 2.0.RC1, 2.0
    • Fix Version/s: None
    • Component/s: DOC
    • Labels:
    • Environment:
      N/A

      Description

      As per this thread on the Spring Forum: http://forum.springsource.org/showthread.php?122363-Applying-transaction-boundaries&p=400293#post400293

      Suggestion to update the documentation to emphasize the fact that if there's a root application context and a servlet context, since both of them use component scanning, the one in the dispatcher servlet must include only its controllers, and the one in the root context must include others (mainly the @Transactional components, otherwise it can throw a org.neo4j.graphdb.NotInTransactionException)

        Attachments

          Activity

            People

            • Assignee:
              mhunger Michael Hunger
              Reporter:
              danielgig Daniel Giguere
              Last updater:
              Nicolas Mervaillie
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: