Oracle GlassFish Server 3.0.1 Application Development Guide

Foreign Key Mapping

Use @OneToMany(mappedBy="COMPANY") or specify an explicit column name for the Company field on the Many side of the relationship.