Re: JPA + enum == Exception
От | Dave Cramer |
---|---|
Тема | Re: JPA + enum == Exception |
Дата | |
Msg-id | CADK3HH+yMtvyrM6y26w+61vwFX3N0BaV7229Fwdy0GOawF3NcA@mail.gmail.com обсуждение исходный текст |
Ответ на | JPA + enum == Exception ("Marc G. Fournier" <scrappy@hub.org>) |
Список | pgsql-jdbc |
Marc,
Any chance you could get some example code ?
Dave
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
В списке pgsql-jdbc по дате отправления: