24.2.12. @ColumnDefault

The @ColumnDefault annotation is used to specify the DEFAULT DDL value to apply when using the automated schema generator.

</div>

The same behavior can be achieved using the definition attribute of the JPA @Column annotation.

</div>

See the Default value for database column chapter for more info.

</div> </div>

results matching ""

    No results matching ""