Re: JPA and Postgresql - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: JPA and Postgresql
Date
Msg-id 4723C9D4.1090701@fastcrypt.com
Whole thread Raw
In response to Re: JPA and Postgresql  (Robert Wimmer <seppwimmer@hotmail.com>)
List pgsql-jdbc
Robert Wimmer wrote:
.hmmessage P { margin:0px; padding:0px } body.hmmessage { FONT-SIZE: 10pt; FONT-FAMILY:Tahoma } >
> 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

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: JPA and Postgresql
Next
From: "Nicholas E. Wakefield"
Date:
Subject: Re: JPA and Postgresql