Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/phstudy/jpa-converter-sample

PostgreSQL hstore JPA 2.1 Converter Sample
https://github.com/phstudy/jpa-converter-sample

Last synced: 2 months ago
JSON representation

PostgreSQL hstore JPA 2.1 Converter Sample

Awesome Lists containing this project

README

        

jpa-converter-sample [![Build Status](https://travis-ci.org/phstudy/jpa-converter-sample.svg?branch=master)](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;```