Re: JPA and Postgresql - Mailing list pgsql-jdbc

From Nicholas E. Wakefield
Subject Re: JPA and Postgresql
Date
Msg-id 2F2A7EB72EBAF24582513E72ACCBCAAE0174C5@kniexch01.KineticNetworks.com
Whole thread Raw
In response to JPA and Postgresql  (Robert Wimmer <seppwimmer@hotmail.com>)
Responses Re: JPA and Postgresql  (Thomas Hallgren <thomas@tada.se>)
Re: JPA and Postgresql  ("Peter Kovacs" <maxottovonstirlitz@gmail.com>)
List 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'vetried out most of the other JPA implementations and found the glassfish implementation the easiest one to get
startedwith 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
erroryou are getting? 

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


________________________________

From: pgsql-jdbc-owner@postgresql.org on behalf of Robert Wimmer
Sent: Sat 10/27/2007 2:04 PM
To: John R Pierce; pgsql-jdbc@postgresql.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/>  

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: JPA and Postgresql
Next
From: Thomas Hallgren
Date:
Subject: Re: JPA and Postgresql