We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20f6432 commit 0fcda14Copy full SHA for 0fcda14
README.md
@@ -46,11 +46,14 @@ String result = fixture.create(String.class);
46
String: "c3932f6f-59ae-43df-8ee9-8788474a3f87"
47
48
#### Note
49
-If a `String`-field is annotated with `@Size`, those limits will be respected:
+If a `String`-field is annotated with `@Size` or `@Column`, those limits will be respected:
50
```java
51
public class TestObjectWithJavaxValidationAnnotations {
52
@Size(min = 3, max = 6)
53
private String withMinMaxAnnotation;
54
+
55
+ @Column(length = 6)
56
+ private String withColumnLengthAnnotation;
57
}
58
```
59
0 commit comments