Permalink
Browse files

HV-1541 Adding new ISBN constraint to documentation

  • Loading branch information...
marko-bekhta authored and gsmet committed Dec 11, 2017
1 parent 5134f12 commit c7cc895f176fae499fe1fd21e3561e94c7e6bba6
Showing with 4 additions and 0 deletions.
  1. +4 −0 documentation/src/main/asciidoc/ch02.asciidoc
@@ -683,6 +683,10 @@ With one exception also these constraints apply to the field/property level, onl
Supported data types::: `CharSequence`
Hibernate metadata impact::: None
`@ISBN`:: Checks that the annotated character sequence is a valid https://en.wikipedia.org/wiki/International_Standard_Book_Number[ISBN]. `type` determines the type of ISBN. The default is ISBN-13.
Supported data types::: `CharSequence`
Hibernate metadata impact::: None
`@Length(min=, max=)`:: Validates that the annotated character sequence is between `min` and `max` included
Supported data types::: `CharSequence`
Hibernate metadata impact::: Column length will be set to max

0 comments on commit c7cc895

Please sign in to comment.