Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-608

JDBC store - ORA-00972: identifier is too long

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • A-MQ 7.0.0.ER18
    • A-MQ 7.0.0.ER16
    • None
    • None

    Description

      Artemis generates identifiers for paging tables using pattern TABLE_NAME + GENERATED ID. Oracle database allows to use only identifiers of maximal length of 30 characters. Generated ID is type of long so it can have size up-to 20 characters what means that maximum length of table name can be only 10 characters. Otherwise error [1] may arises.

      This issue is dangerous because it arises after some time and admin is not advised at start of EAP. EAP/Artemis should do some checks at start and at configuration of these parameters.

      [1]

      SQL STATEMENTS:
      CREATE TABLE NODE2_PAGE_STORE_TABLE6442455442(ID NUMBER(19) GENERATED BY DEFAULT ON NULL AS IDENTITY, FILENAME VARCHAR(255), EXTENSION VARCHAR(10), DATA BLOB, PRIMARY KEY(ID))
      SQL EXCEPTIONS:
      SQLState: 42000 ErrorCode: 972 Message: ORA-00972: identifier is too long
      

      Customer impact: Paging may stop working after some time depending on length of page table name and number of queues.

      Attachments

        Issue Links

          Activity

            People

              rh-ee-ataylor Andy Taylor
              mtaylor1@redhat.com Martyn Taylor (Inactive)
              Dmitrii Puzikov Dmitrii Puzikov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: