Is there any JPA implementation that supports PostgreSQL hstore, geolocation and array data types ?
3 Answers
DataNucleus has a spatial plugin that includes Postgresql spatial types (but it goes way beyond it). It doesn't explicitly do Postgresql array types but it is readily extensible, so you could write your own plugin for any missing type.
Comments
You have got Hibernate spatial which is a generic extension to Hibernate for handling geographic data
3 Comments
Agung Prasetyo
the project is outdated, i've no luck with this
Abhendra Singh
@kav1nsky I think you have missed tutorials and other things about it. It is very nice enhancement for Hibernate for PostgreSQL/PostGIS. I am currently working with this. And it is working very perfectly.
willome
I do not know what is outdated too. This project is still active : "We are currently working on migrating Hibernate Spatial to a module of the Hibernate ORM project. The move will be complete by the time of the Hibernate 5 release. The Hibernate Spatial Release 4 will be therefore be the last release that is made independently of Hibernate." That is not an easy task to migrate for full jdbc/sql to JPA and I do not think you will find a better lib for your needs.
update :
This time i have made a few converters for geo point and array (limitied to array string and long) datatype, please check https://github.com/brain64bit/myeclipselink_converter
jsonandxmlin EclipseLink and Hibernate.