Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 9B8B59FB2DF for ; Tue, 30 Oct 2007 21:33:35 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 01646-08 for ; Tue, 30 Oct 2007 21:33:30 -0300 (ADT) X-Greylist: delayed 00:12:04.595924 by SQLgrey-1.7.5 Received: from mail1.ks.pochta.ru (mail1.ks.pochta.ru [82.204.219.181]) by postgresql.org (Postfix) with ESMTP id 6BD309FB2B1 for ; Tue, 30 Oct 2007 21:33:30 -0300 (ADT) Received: from [80.240.13.28] (helo=[192.168.200.2]) by mail1.ks.pochta.ru ( sendmail 8.13.3/8.13.1) with esmtpsa id 1In1Kj-000Ly8-Uj for pgsql-jdbc@postgresql.org; Wed, 31 Oct 2007 03:21:22 +0300 Message-ID: <4727CA76.3080802@mail333.com> Date: Wed, 31 Oct 2007 02:21:10 +0200 From: Alexander Panzhin Reply-To: Alexander Panzhin User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Re: JPA and Postgresql References: <4723A4DF.8020605@hogranch.com> <4723AD1D.803@hogranch.com> <4723BECE.5000805@opencloud.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=3.258 tagged_above=0 required=5 tests=BAYES_50=0.001, DNS_FROM_AHBL_RHSBL=0.692, DNS_FROM_RFC_BOGUSMX=1.482, URIBL_RHS_DOB=1.083 X-Spam-Level: *** X-Archive-Number: 200710/183 X-Sequence-Number: 17755 I use TopLink Essentials + PostgreSQL JDBC 4 driver without any problems. Glassfish has this problem woth getClientInfo method, but I did not see it in standalone mode. I have never used Eclipse's JPA plugin. For toplink see: http://www.oracle.com/technology/products/ias/toplink/jpa/howto/java-se-usage.html > > > > Robert Wimmer wrote: > > > > > if there would exist a postgresql jdbc4 driver that supports the > features > > > you need for the JPA extensions, i wouldnt have asked here. > > > > Well, what are the features that JPA needs that the current driver > > doesn't provide? Assume that we know nothing about JPA. > > > > 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 out" > > 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 following is an example that runs with derby on > eclipse. trying similar things with the new jdbc driver didnt work. > > ** snippet > > @Entity > @Table(name = "PRODUCTLINE", schema = "CLASSICCARS", uniqueConstraints > = {}) > public class Productline implements java.io.Serializable { > > ** > > > regards sepp > > ------------------------------------------------------------------------ > Jetzt 30 Gratis-Emoticons für Windows Live Messenger downloaden! > Windows Live Messenger