Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-1288

Oracle - ORA-00972: identifier is too long

    XMLWordPrintable

Details

    Description

      Current Situation

      • Oracle versions < 12.2 do support identifiers with 30 characters only. When using identifiers with more characters then the following error occurs during installation of JOC Cockpit:
        ..joc/db/oracle/inventory_schedule2workflows_procedure.sql: com.sos.commons.hibernate.exception.SOSHibernateSQLExecutorException: 972 ORA-00972: identifier is too long
        [CREATE OR REPLACE VIEW INV_RELEASED_SCHEDULE2WORKFLOWS AS
        SELECT
        JSON_VALUE("JSON_CONTENT",'$.workflowName') AS "WORKFLOW_NAME",
        ...
      • This error occurs due to the object’s name INV_RELEASED_SCHEDULE2WORKFLOWS which is longer than 30 characters.
      • Oracle versions > 12.1 support identifiers with up to 128 bytes. Depending on the character encoding of the database a maximum of 42 characters can be used for identifiers.

      Desired Behaviour

      • The view INV_RELEASED_SCHEDULE2WORKFLOWS should be renamed in INV_REL_SCHEDULE2WORKFLOWS.

      Workaround

      Attachments

        Activity

          People

            re Robert Ehrlich
            re Robert Ehrlich
            Andreas Püschel Andreas Püschel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: