glassfish
  1. glassfish
  2. GLASSFISH-272

There is no support in java2db for UniqueConstraints

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 9.0pe
    • Fix Version/s: 9.0pe
    • Component/s: entity-persistence
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      272

      Description

      If UniqueConstraint annotation is defined in the entity class we need to create
      the corresponding ddl statements.
      Currently there is no support for this.

        Activity

        Hide
        pkrogh added a comment -

        TopLink has this support (isUnique) on the Table creator. As long as the
        support is there to cpature the Annotation information on the Project, the fix
        should be entirely in DDL generation code.

        Show
        pkrogh added a comment - TopLink has this support (isUnique) on the Table creator. As long as the support is there to cpature the Annotation information on the Project, the fix should be entirely in DDL generation code.
        Hide
        pramodgo added a comment -

        Have sent code for review

        Show
        pramodgo added a comment - Have sent code for review
        Hide
        pramodgo added a comment -

        Have checked in code to resolve this issue.

        Show
        pramodgo added a comment - Have checked in code to resolve this issue.

          People

          • Assignee:
            pramodgo
            Reporter:
            pramodgo
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: