Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-4902

Problem with Hibernate validator annotations when generating entities

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.3.0.ALPHA
    • Fix Version/s: 2.3.0.BETA1
    • Component/s: Tools
    • Labels:
      None
    • Environment:

      JBoss AS 7.1.0.Final, Seam 2.3 - SNAPSHOT from 21st Feb

    • Steps to Reproduce:
      Hide

      1. Create new Seam Web project with EAP 6 runtime in JBoss Tools
      2. Reverse engineer entities from db
      3. There are imports for org.hibernate.validator.Length and org.hibernate.validator.NotNull, which causes error. It should probably be org.hibernate.validator.constraints.Length, javax.validation.constraints.NotNull

      Show
      1. Create new Seam Web project with EAP 6 runtime in JBoss Tools 2. Reverse engineer entities from db 3. There are imports for org.hibernate.validator.Length and org.hibernate.validator.NotNull, which causes error. It should probably be org.hibernate.validator.constraints.Length, javax.validation.constraints.NotNull
    • Workaround Description:
      Hide

      Manually add hibernate-validator from Seam distribution to project classpath

      Show
      Manually add hibernate-validator from Seam distribution to project classpath

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                manaRH Marek Novotny
                Reporter:
                tremes Tomas Remes
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: