Fields of type
com.vividsolutions.jts.geom.Point
are ignored by jpamodelgen. Generated metamodel classes don't have such fields. Other fields are generated just fine. Simplest example below (getters and setters omitted):
import com.vividsolutions.jts.geom.Point; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; @Entity public class MehEntity { @Id private Long id; @Column(name = "point") private Point point; }
Which results in this metamodel:
@Generated(value = "org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor") @StaticMetamodel(MehEntity.class) public abstract class MehEntity_ { public static volatile SingularAttribute<MehEntity, Long> id; }