https://github.com/phstudy/jpa-converter-sample
PostgreSQL hstore JPA 2.1 Converter Sample
https://github.com/phstudy/jpa-converter-sample
Last synced: about 1 year ago
JSON representation
PostgreSQL hstore JPA 2.1 Converter Sample
- Host: GitHub
- URL: https://github.com/phstudy/jpa-converter-sample
- Owner: phstudy
- Created: 2014-03-06T19:59:27.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2016-07-26T10:13:26.000Z (almost 10 years ago)
- Last Synced: 2025-03-24T06:11:40.769Z (about 1 year ago)
- Language: Java
- Homepage:
- Size: 15.6 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
jpa-converter-sample [](https://travis-ci.org/phstudy/jpa-converter-sample)
=========
This project demos how to convert PostgreSQL ```hstore``` datatype to Java ```Map``` object for different JPA Implementations, including Hibernate and EclipseLink.
This project was tested on
* PostgreSQL 9.5.0-1
* Hibernate 5.2.1.Final
* EclipseLink 2.6.3
If your PostgreSQL does not have the ```hstore``` datatype, you can create the ```hstore``` datatype by the following sql command: ```CREATE EXTENSION hstore;```