Which Java persistence library would you use with PostgreSQL?

From: Bata Degen <bata42(at)arcor(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Which Java persistence library would you use with PostgreSQL?
Date: 2012-05-02 10:15:35
Message-ID: 4FA10947.4090902@arcor.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi list,

what is your choice of trust when it comes to Java persistence libraries?

NetBeans gives me these out of the box:
EclipseLink (JPA 2.0)
Hibernate (JPA 1.0)
TopLink Essentials (JPA 1.0)

Is any of them known to work very well together with PostgreSQL? Or what
else can you recommend?

I am looking for a solution to do this (the direction is important, it's
not the other way around):
XML-Schema --[via Hyperjaxb3]--> annotated Java classes --[via JPA]-->
PostgreSQL

I've already managed to do the first two steps but would appreciate your
advice on the last step. I've done loads of tutorials. This one
http://bit.ly/b7vCkF for example employs Hibernate and the cool thing is
that you can let the relations be created for you automatically. But it
uses Apache Derby as the database backend. This is not what I want. I
want to use PostgreSQL. But when exchanging Derby for PostgreSQL
relations won't be created automatically anymore.

Has anyone done such magic things successfully with PostgreSQL and if
so, which persistence library where you using?

Thank you guys for your feedback!

Regards,
Bata

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bata Degen 2012-05-02 10:42:03 Re: Which Java persistence library would you use with PostgreSQL?
Previous Message Gábor Farkas 2012-05-02 10:13:07 updating 6million rows, slowdown every 5minutes, manually doing checkpoints?