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

Retire the InMemoryObjectStore

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • core-1.8.0
    • 1.9.0
    • Core
    • None

    Description

      Instead, should just use the DataNucleusObjectStore (configured with in-memory HSQLDB or H2 if required).

      One important reason we should remove this objectstore is that the semantics/behaviour on the domain objects differs. For example, using DN bidirectional associations are automatically managed; this isn't the case with the in-memory objectstore.

      Moreover, if an app becomes too big thus the integ tests become too slow, then the developer should modularize and decouple their app such that individual parts can be worked on independently. Having an in-memory objectstore dissuades the developer from "doing the right thing".

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: