Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-370

Provide a service to allow all @PersistenceCapable entities to be eagerly registered with Isis (and therefore with DataNucleus)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • objectstore-jdo-1.0.0
    • objectstore-jdo-1.1.0
    • Persistence JDO
    • None

    Description

      On several occasions we've hit issues with the JDO/DataNucleus objectstore (eg tests that just hang) that turned out to be a deadlock in the HSQLDB JDBC driver caused by it attempting to run DDL (for the metamodel) intermixed within DML. We surmised that the problem was that DataNucleus's metamodel was not fully created initially ... this is because Isis tells DN what the entities are by walking the graph from the repositories, and subtypes of entities are not always present in the interface of the action methods of those entities.

      This ticket is to provide a service that can be registered in isis.properties and that will eagerly register all entities with Isis, and thus JDO, so that this sort of problem does not occur.

      Attachments

        Issue Links

          Activity

            People

              danhaywood Daniel Keir Haywood
              danhaywood Daniel Keir Haywood
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: