Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3886

field command options to generate nullable and length attributes of @Column annotation

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0.M3
    • Fix Version/s: None
    • Component/s: None

      Description

      There should be the possibility for the field commands to declare not only the columns name, but also the nullable and length attributes that can be specified via the @Columns JPA annotation.

      Fortunately the most recent versions of hibernate JPA provider applies the Bean Validation constraints in DDL by default (thanks to hibernate.validator.apply_to_ddl property defaults to true). But there is no guarantee if other JPA providers does or even have the abilty to do that.

        Attachments

          Activity

            People

            • Assignee:
              jcgarcia Juan Carlos GarcĂ­a del Canto
              Reporter:
              theek Sebastian Theek
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: