OpenJPA
  1. OpenJPA
  2. OPENJPA-601

Remove connection requirement for build action in SchemaTool

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.3, 1.1.0, 1.2.0
    • Fix Version/s: 1.2.0
    • Component/s: jdbc
    • Labels:
      None

      Description

      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.

        Activity

        Albert Lee created issue -
        Hide
        Albert Lee added a comment -

        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.

        Show
        Albert Lee added a comment - 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.
        Albert Lee made changes -
        Field Original Value New Value
        Attachment OPENJPA-601.patch [ 12382051 ]
        Albert Lee made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Albert Lee made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        28d 18h 29m 1 Albert Lee 11/Jun/08 23:15
        Resolved Resolved Closed Closed
        10s 1 Albert Lee 11/Jun/08 23:15

          People

          • Assignee:
            Albert Lee
            Reporter:
            Albert Lee
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development