Using Spring Boot with hibernate. I have something like this in the poko
@Email
private String email;
These example inputs:
- fakeemail
- fakeemail@
I get the following error, which is expected:
email: not a well-formed email address.
However for this input:
- fakeemail@a
This is considered ok. Does Hibernate not care about the domain? (.com, .io, .company)?
PS: Using as of this date, the newest version here: https://mvnrepository.com/artifact/org.hibernate.validator/hibernate-validator/6.0.9.Final