OpenJPA
  1. OpenJPA
  2. OPENJPA-1975

Only obtain default schema name when needed (DB2)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1, 2.1.0
    • Fix Version/s: 2.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently the DB2 issues SQL to obtain the default schema name in DB2Dictionary.connectedConfiguration(). The value is only used by the SchemaTool, and the extra SQL has an impact in some environments.

      The SQL can be delayed until the default schema name is needed, reducing some load on the DB.

        Issue Links

          Activity

          Michael Dick created issue -
          Michael Dick made changes -
          Field Original Value New Value
          Summary Only obtain default schema name when needed. Only obtain default schema name when needed (DB2)
          Description Currently the DB2 issues SQL to obtain the default schema name in DB2Dictionary.connectedConfiguration(). The value is only used by the SchemaTool, and the extra SQL has an impact in some environments.

          The SQL can be delayed until the default schema name is needed, reducing some load on the DB.
          Michael Dick made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Michael Dick made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Albert Lee made changes -
          Link This issue relates to OPENJPA-2073 [ OPENJPA-2073 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          3d 20h 54m 1 Michael Dick 11/Apr/11 18:52
          Resolved Resolved Closed Closed
          92d 22h 19m 1 Michael Dick 13/Jul/11 17:11

            People

            • Assignee:
              Michael Dick
              Reporter:
              Michael Dick
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development