Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 6BE9B9FA246 for ; Sat, 27 Oct 2007 20:08:37 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 52222-07 for ; Sat, 27 Oct 2007 20:08:28 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from bay0-omc3-s21.bay0.hotmail.com (bay0-omc3-s21.bay0.hotmail.com [65.54.246.221]) by postgresql.org (Postfix) with ESMTP id 7232C9FA152 for ; Sat, 27 Oct 2007 20:08:32 -0300 (ADT) Received: from BAY139-W22 ([64.4.43.57]) by bay0-omc3-s21.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 27 Oct 2007 16:08:30 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_0bd0c075-ae85-40ad-a09e-6ab736c44e73_" X-Originating-IP: [213.129.232.56] From: Robert Wimmer To: Oliver Jowett CC: John R Pierce , Subject: Re: JPA and Postgresql Date: Sat, 27 Oct 2007 23:08:30 +0000 Importance: Normal In-Reply-To: <4723BECE.5000805@opencloud.com> References: <4723A4DF.8020605@hogranch.com> <4723AD1D.803@hogranch.com> <4723BECE.5000805@opencloud.com> MIME-Version: 1.0 X-OriginalArrivalTime: 27 Oct 2007 23:08:30.0913 (UTC) FILETIME=[4A5FBB10:01C818EE] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.238 tagged_above=0 required=5 tests=AWL=0.236, BAYES_50=0.001, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200710/161 X-Sequence-Number: 17733 --_0bd0c075-ae85-40ad-a09e-6ab736c44e73_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable >=20 > Robert Wimmer wrote: >=20 > > if there would exist a postgresql jdbc4 driver that supports the featur= es > > you need for the JPA extensions, i wouldnt have asked here. >=20 > Well, what are the features that JPA needs that the current driver=20 > doesn't provide? Assume that we know nothing about JPA. > =20 qoute from jdbc.postgresql.org "JDK 1.6 - JDBC4. Support for JDBC4 methods is limited. The driver builds, but the majority of new methods are stubbed ou= t" what i want to do is to use the new java annotations for "OR-Mapping". so = i dont have to do all these mappings by hand and via SQL Strings. the follo= wing is an example that runs with derby on eclipse. trying similar things w= ith the new jdbc driver didnt work.=20 ** snippet @Entity @Table(name =3D "PRODUCTLINE", schema =3D "CLASSICCARS", uniqueConstraints = =3D {}) public class Productline implements java.io.Serializable { ** regards sepp _________________________________________________________________ Jetzt 30 Gratis-Emoticons f=FCr Windows Live Messenger downloaden! http://www.livemessenger-emoticons.com/de-at/= --_0bd0c075-ae85-40ad-a09e-6ab736c44e73_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable >
> Robert Wimmer wrote:
>
> > if there would exi= st a postgresql jdbc4 driver that supports the features
> > you ne= ed for the JPA extensions, i wouldnt have asked here.
>
> Well= , what are the features that JPA needs that the current driver
> doe= sn't provide? Assume that we know nothing about JPA.
>
 
q= oute from jdbc.postgresql.org

"JDK 1.6 - JDBC4. Support for JDBC4 m= ethods is limited. The driver builds, but the majority of new methods are stubbed ou= t"

what i want to do is to use the new java annotations for "OR-Mapp= ing".  so i dont have to do all these mappings by hand and via SQL Str= ings. the following is an example that runs with derby on eclipse. trying s= imilar things with the new jdbc driver  didnt work.

** snippet=

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

**


regards sepp


Jetzt 30 Gr= atis-Emoticons f=FCr Windows Live Messenger downloaden! Windows Live Messeng= er = --_0bd0c075-ae85-40ad-a09e-6ab736c44e73_--