Re: JPA + enum == Exception
Dave Cramer <pg@fastcrypt.com>
From: Dave Cramer <pg@fastcrypt.com>
To: "Marc G. Fournier" <scrappy@hub.org>
Cc: List <pgsql-jdbc@postgresql.org>
Date: 2012-12-17T23:18:10Z
Lists: pgsql-hackers
Marc, Any chance you could get some example code ? Dave Dave Cramer dave.cramer(at)credativ(dot)ca http://www.credativ.ca On Mon, Dec 17, 2012 at 7:01 PM, Marc G. Fournier <scrappy@hub.org> wrote: > > I'm trying to use enum's in a database, but the java guys are telling me > that they are having problems with inserts … reading from the database > isn't a problem, but there appears to be an issue with converting from > string -> enum when saving it 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't think of what to suggest > … > > Is there a doc online I can maybe point them to about doing this … ? > > > > > -- > Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-jdbc >