openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert Lee (JIRA)" <>
Subject [jira] Updated: (OPENJPA-601) Remove connection requirement for build action in SchemaTool
Date Wed, 14 May 2008 16:34:55 GMT


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:
>             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.

View raw message