This issue seems to be related to the inclusion of @MapsId. If the mapping is changed to the following, the right column length is derived.
@ManyToOne @JoinColumn(name = "FK_A", nullable = false, insertable = false, updatable = false) private EntityA a;