Hi,
Does Hibernate do any validation checking when the attributes precision and scale are set for the column annotation?
For example, suppose in my POJO, I have:
Code:
@Column(precision=10, scale=2)
public float getPension() {
return pension;
}
Does hibernate do any in memory checking on the precision and scale of pension or does this check only happen at the database?
If this check happens only at the database, what is the point of these annotations?
Is it just to update the DDL?
Comments appreciated
Kind Regards