JPA Annotation Attribute
in jakarta.persistence.Column

int scale default 0


(Optional) The scale for a column of SQL type decimal or numeric, or of similar database-native type.

Applies only to columns of exact numeric type.

The default value 0 indicates that a provider-determined scale should be inferred.

Since:
JPA 1.0