Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-3776

organizationalentity table should have the compostie PK that also contains the discriminator column

XMLWordPrintable

      Currently , the generated organizationalentity table only has the id as its primary key. If I have to insert a group into this table but a user record with the same name already exists in this table ( it may due to task service API currently will automatically insert organizationalentity record if no such records are found ) , duplicate primary key exception occurs during the insertion.

      It is more flexible if the organizationalentity table has a composite primary key which consists of both id column and dtype column (discriminator column) .

            salaboy@gmail.com Mauricio Salatino (Inactive)
            drupalspring wqe wqe (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: