podam
podam copied to clipboard
What is the latest version supports javax.validation?
Due to some circumstance, I need to randomize instance whose fields annotated with javax.validation.
I'm trying with 7.2.11.RELEASE which seems the last release supports the javax.validation package.
When I randomize for the following class,
public class Some {
@javax.validation.constraints.Size(max = 7)
@javax.validation.constraints.NotBlank
private String a;
@javax.validation.constraints.Size(max = 10)
@javax.validation.constraints.NotNull
private String b;
}
The output seems not valid by the @Size annotation.
{
"a" : "BjjTfrD3_M",
"b" : "ylCFWksEb6"
}
- What is the latest release for the
javax.validation? - Does the release supports the
@Sizeannotation?
Thanks.
Podam 7.2.11.RELEASE was the latest version support javax.validation. Versions 8.x support jakarta.validation.
Thanks, Daniil