Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-1676

Entity ID types do not match types in database definition

XMLWordPrintable

      For example, anchor ID is defined as BIGINT in the DB (Liquibase changelog). BIGINT is 64-bit, corresponding to Long in Java. But the AnchorEntity class has anchor ID type set to Integer. Theoretically this could cause problems given an extremely large number of anchors.

      Also YangResourceEntity has ID type Long in Java, but type INTEGER in the DB.

      Note: any changes should be reflected in https://wiki.onap.org/display/DW/CPS+Internal+Relation+DB+Schema

            danielhanrahan Daniel Hanrahan
            danielhanrahan Daniel Hanrahan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: