Package jakarta.persistence
Annotation Interface CheckConstraint
Used to specify a SQL check constraint on a column or table
 when schema generation is in effect.
- Since:
 - 3.2
 - See Also:
 
- 
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescription(Required) The native SQL expression to be checked. - 
Optional Element Summary
Optional Elements 
- 
Element Details
- 
constraint
String constraint(Required) The native SQL expression to be checked. 
 - 
 -