JPA + enum == Exception - Mailing list pgsql-jdbc

From Marc G. Fournier
Subject JPA + enum == Exception
Date
Msg-id EDDA5C6D-77E3-4C56-B33B-277E7FB32A12@hub.org
Whole thread Raw
Responses Re: JPA + enum == Exception  (Dave Cramer <pg@fastcrypt.com>)
Re: JPA + enum == Exception  (Craig Ringer <craig@2ndquadrant.com>)
Re: JPA + enum == Exception  ("Hudson, Derrick" <dhudson@redcom.com>)
List pgsql-jdbc
I'm trying to use enum's in a database, but the java guys are telling me that they are having problems with inserts …
readingfrom the database isn't a problem, but there appears to be an issue with converting from string -> enum when
savingit back again … 

they are using JPA2 / EJB + Eclipselink … on the jboss side, we are running the latest jdbc driver …

considering postgresql has always supported enum and extending types, I think they might be missing something, but I
can'tthink of what to suggest … 

Is there a doc online I can maybe point them to about doing this … ?




pgsql-jdbc by date:

Previous
From: David Wall
Date:
Subject: Re: JDBC with PG 9.2 and large object permissions as they relate to blobs (after upgrade from 8.4)
Next
From: Dave Cramer
Date:
Subject: Re: JPA + enum == Exception