Fields of type
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):
Which results in this metamodel:
Hibernate 5.0.11, Maven3
annotation makes it work, but still this contradicts documentation as found at https://docs.jboss.org/hibernate/orm/5.0/userguide/html_single/Hibernate_User_Guide.html#spatial-types (the part where it says that declaring field is enough).