Java Mailing List Archive

http://www.gg3721.com/

Home » users.openjpa »

java.util.Data mapping to abstime (deprecated) in postgres

Yazbek, Daniel (Daniel)

2008-05-01

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi all,



I am using BEA Weblogic 10, which implements persistence by using kodo
and openjpa.

I have set this up to persist to a Postgres 8.3 Database.



I have a java.util.Date that I want as a column in a table.



When I run the mapping tool, it maps the java.util.Data datatype to
Postgres datatype "abstime". However, this datatype is deprecated, and
should be mapping to "timestamp without time zone" instead.



Has anyone had any success in mapping this properly?

Perhaps I should raise a bug against openjpa?



Thanks





| Daniel Yazbek | Avaya Labs Australia | 123 Epping Road | North Ryde
2113 | Australia | +61-2-9352-8615 | dyazbek@(protected)
<mailto:dyazbek@(protected)> |



©2008 gg3721.com - Jax Systems, LLC, U.S.A.