ObjectDB ObjectDB

MapKeyColumn.precision - JPA annotation element

Annotation Element
javax.persistence.MapKeyColumn
int precision

(Optional) The precision for a decimal (exact numeric) column. (Applies only if a decimal column is used.)

Default: 0. (The value must be set by the developer.)

Default value:
0
Since:
JPA 2.0