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.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • core-1.8.0
    • 1.9.0
    • Isis Persistence JDO
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: