Derby
  1. Derby
  2. DERBY-3339

APP schema is always owned by APP regardless of the database owner

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.2.2.0
    • Fix Version/s: None
    • Component/s: SQL
    • Urgency:
      Low
    • Issue & fix info:
      Repro attached

      Description

      Every schema in a newly created database should be owned by the database owner since APP may not be a valid user.

      ij> connect 'jdbc:derby:cs;create=true;user="djd@acme.org"';

      ij> select CAST(schemaname AS VARCHAR(15)) AS SCHEMANAME,
      CAST (authorizationid AS VARCHAR(15)) AS AUTHORIZATIONID from sys.sysschemas;
      SCHEMANAME |AUTHORIZATIONID
      -------------------------------
      SYSIBM |djd@acme.org
      SYS |djd@acme.org
      SYSCAT |djd@acme.org
      SYSFUN |djd@acme.org
      SYSPROC |djd@acme.org
      SYSSTAT |djd@acme.org
      NULLID |djd@acme.org
      SQLJ |djd@acme.org
      SYSCS_DIAG |djd@acme.org
      SYSCS_UTIL |djd@acme.org
      APP |APP

        Activity

        Gavin made changes -
        Workflow jira [ 12421712 ] Default workflow, editable Closed status [ 12799070 ]
        Kathey Marsden made changes -
        Affects Version/s 10.2.2.0 [ 12312027 ]
        Kathey Marsden made changes -
        Labels derby_triage10_5_2
        Tiago R. Espinha made changes -
        Field Original Value New Value
        Urgency Low
        Issue & fix info [Repro attached]
        Daniel John Debrunner created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Daniel John Debrunner
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development