Uploaded image for project: 'Hibernate OGM'
  1. OGM-1397

Counter name should also contain the table and not only the columname in InfinispanEmbedded

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: 5.3.0.CR1
    • Components: infinispan
    • Labels:
      None

      Description

      Given the following example:

      @Id
      @GeneratedValue(strategy = GenerationType.TABLE, generator = "gen2")
      @TableGenerator(name = "gen2", table = "Gen_table", pkColumnValue = "generator")
      Long id;
      

      When we create the counter name we ignore the table attribute. This means that the name may conflict with other generators having the same pkColumnValue but different table.

        Attachments

          Activity

            People

            • Assignee:
              davided Davide D'Alto
              Reporter:
              davided Davide D'Alto
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: