Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id C68D39FA0B7 for ; Sun, 28 Oct 2007 04:49:12 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 51689-02 for ; Sun, 28 Oct 2007 04:49:04 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from tada.se (1-1-2-48a.rny.sth.bostream.se [82.182.133.12]) by postgresql.org (Postfix) with ESMTP id BFCDA9FA075 for ; Sun, 28 Oct 2007 04:49:07 -0300 (ADT) Received: from [192.168.0.101] (unverified [82.182.133.12]) by tada.se (SurgeMail 3.8o) with ESMTP id 54371-1788151 for multiple; Sun, 28 Oct 2007 08:30:47 +0100 Message-ID: <47243EAA.1050804@tada.se> Date: Sun, 28 Oct 2007 08:47:54 +0100 From: Thomas Hallgren User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: "Nicholas E. Wakefield" , Robert Wimmer CC: "Pgsql-Jdbc@Postgresql.Org" Subject: Re: JPA and Postgresql References: <4723A4DF.8020605@hogranch.com> <2F2A7EB72EBAF24582513E72ACCBCAAE0174C5@kniexch01.KineticNetworks.com> In-Reply-To: <2F2A7EB72EBAF24582513E72ACCBCAAE0174C5@kniexch01.KineticNetworks.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Authenticated-User: thomas@tada.se X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/165 X-Sequence-Number: 17737 Oracle donated TopLink to Eclipse back in March. The project is still in incubation but chances are, it's fairly stable. Check out http://www.eclipse.org/eclipselink/ Regards, Thomas Hallgren Nicholas E. Wakefield wrote: > 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@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 > > ---------------------------(end of broadcast)--------------------------- > TIP 5: don't forget to increase your free space map settings >