Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1064

Allow DB schemas (or any other setup) to be performed as DN metamodel is built up for each class.

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: core-1.8.0
    • Fix Version/s: 1.9.0
    • Component/s: Core: Objectstore: JDO
    • Labels:
      None

      Description

      To support modularization (eg of isisaddons), it'd be good practice to allow classes to be mapped to specific (DB) schemas, rather than the default "public" (HSQLDB/Postgres) or "dbo" (MSSQL) schema.

      This requires some mechanism to intercept the creation process and create the schema before hand.

      This enhancement is:

      • provide the ability to register a listener class (implementing org.datanucleus.metadata.MetaDataListener), so that this can be done on start-up
      • provide a default implementation that works "out-of-the-box" for (at least) HSQLDB, PostgreSQL and MS SQL Server.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              danhaywood Dan Haywood
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: