You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Albert Lee (JIRA)" <ji...@apache.org> on 2008/05/14 05:45:55 UTC

[jira] Created: (OPENJPA-601) Remove connection requirement for build action in SchemaTool

Remove connection requirement for build action in SchemaTool
------------------------------------------------------------

                 Key: OPENJPA-601
                 URL: https://issues.apache.org/jira/browse/OPENJPA-601
             Project: OpenJPA
          Issue Type: Improvement
          Components: jdbc
    Affects Versions: 1.0.3, 1.1.0, 1.2.0
            Reporter: Albert Lee
            Assignee: Albert Lee
            Priority: Minor
             Fix For: 1.2.0


The "build" action in SchemaTool requires a data source connection to work even it does not need the connection to perform the "build" function. It would be a usability improvement to remove this requirement for the SchemaTool. This will also benefit other tools (e.g. MappingTool) that uses SchemaTool's build action under the cover.

Albert Lee.

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


[jira] Resolved: (OPENJPA-601) Remove connection requirement for build action in SchemaTool

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

Albert Lee resolved OPENJPA-601.
--------------------------------

    Resolution: Fixed

> Remove connection requirement for build action in SchemaTool
> ------------------------------------------------------------
>
>                 Key: OPENJPA-601
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-601
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: jdbc
>    Affects Versions: 1.0.3, 1.1.0, 1.2.0
>            Reporter: Albert Lee
>            Assignee: Albert Lee
>            Priority: Minor
>             Fix For: 1.2.0
>
>         Attachments: OPENJPA-601.patch
>
>
> The "build" action in SchemaTool requires a data source connection to work even it does not need the connection to perform the "build" function. It would be a usability improvement to remove this requirement for the SchemaTool. This will also benefit other tools (e.g. MappingTool) that uses SchemaTool's build action under the cover.
> Albert Lee.

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


[jira] Updated: (OPENJPA-601) Remove connection requirement for build action in SchemaTool

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

Albert Lee updated OPENJPA-601:
-------------------------------

    Attachment: OPENJPA-601.patch

SchemaTools._ds is only used in executeSQL() method and the build action does not call executeSQL(). This patch avoids getting the datasource in the constructor for only the build action.

> Remove connection requirement for build action in SchemaTool
> ------------------------------------------------------------
>
>                 Key: OPENJPA-601
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-601
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: jdbc
>    Affects Versions: 1.0.3, 1.1.0, 1.2.0
>            Reporter: Albert Lee
>            Assignee: Albert Lee
>            Priority: Minor
>             Fix For: 1.2.0
>
>         Attachments: OPENJPA-601.patch
>
>
> The "build" action in SchemaTool requires a data source connection to work even it does not need the connection to perform the "build" function. It would be a usability improvement to remove this requirement for the SchemaTool. This will also benefit other tools (e.g. MappingTool) that uses SchemaTool's build action under the cover.
> Albert Lee.

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


[jira] Closed: (OPENJPA-601) Remove connection requirement for build action in SchemaTool

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

Albert Lee closed OPENJPA-601.
------------------------------


> Remove connection requirement for build action in SchemaTool
> ------------------------------------------------------------
>
>                 Key: OPENJPA-601
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-601
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: jdbc
>    Affects Versions: 1.0.3, 1.1.0, 1.2.0
>            Reporter: Albert Lee
>            Assignee: Albert Lee
>            Priority: Minor
>             Fix For: 1.2.0
>
>         Attachments: OPENJPA-601.patch
>
>
> The "build" action in SchemaTool requires a data source connection to work even it does not need the connection to perform the "build" function. It would be a usability improvement to remove this requirement for the SchemaTool. This will also benefit other tools (e.g. MappingTool) that uses SchemaTool's build action under the cover.
> Albert Lee.

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