From: Dave Cramer <pg@fastcrypt.com>
To: Robert Wimmer <seppwimmer@hotmail.com>
Cc: Oliver Jowett <oliver@opencloud.com>
Cc: John R Pierce <pierce@hogranch.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: JPA and Postgresql
Date: Sat, 27 Oct 2007 19:29:24 -0400
Message-ID: <4723C9D4.1090701@fastcrypt.com> (raw)
In-Reply-To: <BAY139-W220D12101BA4AB5C35F0FFD0970@phx.gbl>
References: <BAY139-W41AB82F7FB4EA269555EE1D0970@phx.gbl>
<4723A4DF.8020605@hogranch.com>
<BAY139-W31A986959472766D0CF04DD0970@phx.gbl>
<4723AD1D.803@hogranch.com>
<BAY139-W2062872C37FA7AEC0BA7EDD0970@phx.gbl>
<4723BECE.5000805@opencloud.com>
<BAY139-W220D12101BA4AB5C35F0FFD0970@phx.gbl>
Robert Wimmer wrote:
> >
> > 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 {
>
> **
>
Well, this is simply defining a table, schema, and unique constraints.
The driver should have nothing to do here.
Dave
>
> regards sepp
>
> ------------------------------------------------------------------------
> Jetzt 30 Gratis-Emoticons für Windows Live Messenger downloaden!
> Windows Live Messenger <http://www.livemessenger-emoticons.com/de-at/;
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: pg@fastcrypt.com, seppwimmer@hotmail.com, oliver@opencloud.com, pierce@hogranch.com
Subject: Re: JPA and Postgresql
In-Reply-To: <4723C9D4.1090701@fastcrypt.com>
References: <BAY139-W41AB82F7FB4EA269555EE1D0970@phx.gbl> <4723A4DF.8020605@hogranch.com> <BAY139-W31A986959472766D0CF04DD0970@phx.gbl> <4723AD1D.803@hogranch.com> <BAY139-W2062872C37FA7AEC0BA7EDD0970@phx.gbl> <4723BECE.5000805@opencloud.com> <BAY139-W220D12101BA4AB5C35F0FFD0970@phx.gbl> <4723C9D4.1090701@fastcrypt.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox