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

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

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0.M3
    • None
    • 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

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

            Dates

              Created:
              Updated: