jpa-spec
  1. jpa-spec
  2. JPA_SPEC-34

Add support for JSR303 (Bean validation) annotations.

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Labels:
      None

      Description

      Right now, JPA spec neglect Bean Validation annotations.

      The way it is now we end with duplicated information:

          @Column(nullable = false, length = 200)
          @NotNull
          @Size(min = 4, max = 200)
          private String name;
      

      Would be nice just do:

          @Column
          @NotNull
          @Size(min = 4, max = 200)
          private String name;
      

      and end with same result.

        Activity

        velobr created issue -
        ldemichiel made changes -
        Field Original Value New Value
        Assignee ldemichiel [ ldemichiel ]
        ldemichiel made changes -
        Tags RFE

          People

          • Assignee:
            ldemichiel
            Reporter:
            velobr
          • Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: