Re: JPA and Postgresql

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: JPA and Postgresql
Дата
Msg-id 4723C9D4.1090701@fastcrypt.com
обсуждение исходный текст
Ответ на Re: JPA and Postgresql  (Robert Wimmer <seppwimmer@hotmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: JPA and Postgresql
Следующее
От: "Nicholas E. Wakefield"
Дата:
Сообщение: Re: JPA and Postgresql