}
}
public void test_getJSR303Validation() {
Column nullColumn = new Column(new Table(),Types.TINYINT,"int","email",1,2,false,true,false,false,"","remarks");
System.out.println(nullColumn.getHibernateValidatorExprssion());
assertEquals("@Email @Max(127)",nullColumn.getHibernateValidatorExprssion());
Column num = new Column(new Table(),Types.TINYINT,"int","email",1,2,false,false,false,false,"","remarks");
System.out.println(num.getHibernateValidatorExprssion());
assertEquals("@NotNull @Email @Max(127)",num.getHibernateValidatorExprssion());
Column str = new Column(new Table(),Types.VARCHAR,"int","email",1,2,false,false,false,false,"","remarks");
System.out.println(str.getHibernateValidatorExprssion());
assertEquals("@NotBlank @Email @Length(max=1)",str.getHibernateValidatorExprssion());
}