I´m wondering how best PostgreSQL range types could be used from Hibernate.
- As a first step I’m working on a pull request for pgjdbc to support range types.
- A second step would probably to map to a domain type, I don’t think you want to have database driver types in your entities. Are there any good candidates?
- A third step would be to support range type operators and functions in HQL. Can this be done? Are there examples or documentation on how to do this?
I am aware of vladmihalcea/hibernate-types.