You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2008/10/24 15:45:44 UTC

[jira] Created: (JCR-1836) Persistence: support property databaseType

Persistence: support property databaseType
------------------------------------------

                 Key: JCR-1836
                 URL: https://issues.apache.org/jira/browse/JCR-1836
             Project: Jackrabbit
          Issue Type: Improvement
            Reporter: Thomas Mueller
            Assignee: Thomas Mueller
            Priority: Minor


In persistence managers and cluster journal the term 'schema' is used to mean 'database type'. 

Using the term 'schema' for that is actually quite confusing (in my view):

The definition of schema http://en.wikipedia.org/wiki/Database_schema is "the schema defines the tables, the fields in each table, and the relationships between fields and tables."

Additionally in most databases a schema is is a name space within a database: http://java.sun.com/j2se/1.4.2/docs/api/java/sql/DatabaseMetaData.html#getSchemas() .

I suggest to support the property 'databaseType' in addition to 'schema' for the persistence managers and the cluster journal.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (JCR-1836) Persistence: support property databaseType

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-1836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated JCR-1836:
-------------------------------

      Component/s: jackrabbit-core
    Fix Version/s: 1.6.0

> Persistence: support property databaseType
> ------------------------------------------
>
>                 Key: JCR-1836
>                 URL: https://issues.apache.org/jira/browse/JCR-1836
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Minor
>             Fix For: 1.6.0
>
>         Attachments: databaseType.patch
>
>
> In persistence managers and cluster journal the term 'schema' is used to mean 'database type'. 
> Using the term 'schema' for that is actually quite confusing (in my view):
> The definition of schema http://en.wikipedia.org/wiki/Database_schema is "the schema defines the tables, the fields in each table, and the relationships between fields and tables."
> Additionally in most databases a schema is is a name space within a database: http://java.sun.com/j2se/1.4.2/docs/api/java/sql/DatabaseMetaData.html#getSchemas() .
> I suggest to support the property 'databaseType' in addition to 'schema' for the persistence managers and the cluster journal.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-1836) Persistence: support property databaseType

Posted by "Thomas Mueller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-1836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Mueller resolved JCR-1836.
---------------------------------

    Resolution: Fixed

Committed in revision 722463 (trunk)

> Persistence: support property databaseType
> ------------------------------------------
>
>                 Key: JCR-1836
>                 URL: https://issues.apache.org/jira/browse/JCR-1836
>             Project: Jackrabbit
>          Issue Type: Improvement
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Minor
>         Attachments: databaseType.patch
>
>
> In persistence managers and cluster journal the term 'schema' is used to mean 'database type'. 
> Using the term 'schema' for that is actually quite confusing (in my view):
> The definition of schema http://en.wikipedia.org/wiki/Database_schema is "the schema defines the tables, the fields in each table, and the relationships between fields and tables."
> Additionally in most databases a schema is is a name space within a database: http://java.sun.com/j2se/1.4.2/docs/api/java/sql/DatabaseMetaData.html#getSchemas() .
> I suggest to support the property 'databaseType' in addition to 'schema' for the persistence managers and the cluster journal.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (JCR-1836) Persistence: support property databaseType

Posted by "Thomas Mueller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-1836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Mueller updated JCR-1836:
--------------------------------

    Attachment: databaseType.patch

Deprecate (but still support) the setting 'schema' 
and use 'databaseType' instead in
DatabaseJournal and BundleDbPersistenceManager.

> Persistence: support property databaseType
> ------------------------------------------
>
>                 Key: JCR-1836
>                 URL: https://issues.apache.org/jira/browse/JCR-1836
>             Project: Jackrabbit
>          Issue Type: Improvement
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Minor
>         Attachments: databaseType.patch
>
>
> In persistence managers and cluster journal the term 'schema' is used to mean 'database type'. 
> Using the term 'schema' for that is actually quite confusing (in my view):
> The definition of schema http://en.wikipedia.org/wiki/Database_schema is "the schema defines the tables, the fields in each table, and the relationships between fields and tables."
> Additionally in most databases a schema is is a name space within a database: http://java.sun.com/j2se/1.4.2/docs/api/java/sql/DatabaseMetaData.html#getSchemas() .
> I suggest to support the property 'databaseType' in addition to 'schema' for the persistence managers and the cluster journal.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.