I have a precision problem storing a float value in mysql via jpa (EclipseLink). In my code I have annotated the field with
@Column(precision=15, scale=7)
private float x;
But when i store a value like 322,249878 the database returns 322.25. Whats going on there :)?