From: | Dave Cramer <pg(at)fastcrypt(dot)com> |
---|---|
To: | Robert Wimmer <seppwimmer(at)hotmail(dot)com> |
Cc: | Oliver Jowett <oliver(at)opencloud(dot)com>, John R Pierce <pierce(at)hogranch(dot)com>, pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: JPA and Postgresql |
Date: | 2007-10-27 23:29:24 |
Message-ID: | 4723C9D4.1090701@fastcrypt.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
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/>
From | Date | Subject | |
---|---|---|---|
Next Message | Nicholas E. Wakefield | 2007-10-27 23:31:34 | Re: JPA and Postgresql |
Previous Message | Oliver Jowett | 2007-10-27 23:26:09 | Re: JPA and Postgresql |