Re: JPA and Postgresql

From: "Nicholas E(dot) Wakefield" <nwakefield(at)KineticNetworks(dot)com>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: JPA and Postgresql
Date: 2007-10-27 23:31:34
Message-ID: 2F2A7EB72EBAF24582513E72ACCBCAAE0174C5@kniexch01.KineticNetworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

You could just use the glassfish implementation of JPA (Toplink) if you want to avoid a ton of jars in your classpath. I've tried out most of the other JPA implementations and found the glassfish implementation the easiest one to get started with but have since moved to another implementation for various reasons.

This is an old article but should get you started
http://blogs.sun.com/Glassfish_PostgreSQL/entry/introducing_support_for_postgresql_in

If you don't use an application server you will need to manage the entity manager yourself.

When you say resources, what resources in particular are you referring to?

The code below should work, check your dialect and if that's correct, try another JPA implementation. What's the exact error you are getting?

@Entity
@Table(name = "PRODUCTLINE", schema = "CLASSICCARS", uniqueConstraints = {})
public class Productline implements java.io.Serializable {


________________________________

From: pgsql-jdbc-owner(at)postgresql(dot)org on behalf of Robert Wimmer
Sent: Sat 10/27/2007 2:04 PM
To: John R Pierce; pgsql-jdbc(at)postgresql(dot)org
Subject: Re: [JDBC] JPA and Postgresql

>
>
> minimal in what way? smallest possible memory footprint? easiest
> to deploy on some specific platform?
>

easiest to deploy on eclipse (3.3) with minimal resources in that sense
- if possible no Hibernate
- if possible no Application Server

regards sepp

________________________________

Jetzt 30 Gratis-Emoticons für Windows Live Messenger downloaden! Windows Live Messenger <http://www.livemessenger-emoticons.com/de-at/>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Thomas Hallgren 2007-10-28 07:47:54 Re: JPA and Postgresql
Previous Message Dave Cramer 2007-10-27 23:29:24 Re: JPA and Postgresql