Blogged.my Bookmark this blog Bookmark this blog    Flag as inappropriate Flag as inappropriate   
0
0
   More from kiawin More from kiawin

Hibernate @NotBlank vs @NotEmpty

Sometimes we may often overlook at the difference between these two useful annotations for Hibernate. @NotBlank versus @NotEmpty. Validate that the annotated string is not null or empty. The difference to NotEmpty is that trailing whitespaces are getting ignored. The answer can be found at Hibernate...

By: kiawin



You're now about to leave Blogged.my to an external website. We are not responsible for the content of external websites. We do not produce them or maintain/update them; we cannot change them and the content can be changed without our knowledge or agreement.

By proceeding to the external website, you agree that all user generated content submitted to our website are the responsibility of the user alone, and should not be understood to be our endorsement of that website or the site's owners (or their content/products/services).

We'll be redirecting you shortly... click here if you don't want to wait.

Registered and logged in users are redirected immediately, why not consider signing up? It's free!