You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/03/03 09:21:04 UTC

[jira] [Commented] (ISIS-1064) Allow DB schemas (or any other setup) to be performed as DN metamodel is built up for each class.

    [ https://issues.apache.org/jira/browse/ISIS-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14344718#comment-14344718 ] 

ASF subversion and git services commented on ISIS-1064:
-------------------------------------------------------

Commit b2b2ed27988933228f68bc20fc0500ed871c3cc9 in isis's branch refs/heads/ISIS-1064 from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=b2b2ed2 ]

ISIS-1064: enhance DataNucluesApplicationComponents to support new listener; implement CreateSchemaObjectFromClassMetadata listener.

In addition:
- minor tidy-up of IsisJdoSupportImpl to use try-with-resources.
- some javadoc fixes elsewhere


> Allow DB schemas (or any other setup) to be performed as DN metamodel is built up for each class.
> -------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-1064
>                 URL: https://issues.apache.org/jira/browse/ISIS-1064
>             Project: Isis
>          Issue Type: New Feature
>          Components: Core: Objectstore: JDO
>    Affects Versions: core-1.8.0
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>             Fix For: core-1.9.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)