Comment 4 for bug 623994

Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

Currently Max and NotNull are used. Feel free to suggest additions :

@Table("EMPLOYEE")
public class Employee {

    @Column("DATEFIELD")
    private java.sql.Date datefield;

    @Max(50)
    @Column("FIRSTNAME")
    private String firstname;

    @NotNull
    @Column("ID")
    private Integer id;

...

}