Re: [GENERAL] Cannot insert to 'path' field using EclipseLink

2014-03-14 Thread Daryl Foster
Turns out that it was a JBoss problem. I had to remove the driver jar from the deployed EAR file and set a dependency to the module in the JBoss server. This link has the details: https://community.jboss.org/message/862434 Thanks for pointing me in the right direction. On Wed, Mar 12, 2014 at 1

Re: [GENERAL] Cannot insert to 'path' field using EclipseLink

2014-03-12 Thread Rob Sargent
On 03/12/2014 11:12 AM, Daryl Foster wrote: I've manually entered some data into table to see if I could successfully pull data from the table using EclipseLink. Now the convertDataValueToObjectValue method in my Converter throws the following exception: java.lang.ClassCastException: org.post

Re: [GENERAL] Cannot insert to 'path' field using EclipseLink

2014-03-12 Thread Daryl Foster
I've manually entered some data into table to see if I could successfully pull data from the table using EclipseLink. Now the convertDataValueToObjectValue method in my Converter throws the following exception: java.lang.ClassCastException: org.postgresql.geometric.PGpath cannot be cast to org.pos

[GENERAL] Cannot insert to 'path' field using EclipseLink

2014-03-12 Thread Daryl Foster
I have a java app running in JBoss that uses EclipseLink to persist to a Postgres database. I've added a field with a 'path' datatype to one of the tables but I keep getting the following exception when I try to insert data: org.postgresql.util.PSQLException: Can't infer the SQL type to use for an