How would I map point and polygon to java types. If this is not possible, what is a workaround? I would like to use geospatial support in mysql or postgres through JPA. ...