JPA Annotation Attribute
in javax.persistence.Column

int precision default 0


(Optional) The precision for a decimal (exact numeric) column. (Applies only if a decimal column is used.) Value must be set by developer if used when generating the DDL for the column.
Since:
JPA 1.0