Geography data type retreiving fails

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Geography data type retreiving fails

7alexk7
Hi,

I have hibernate JPA entity with geography type column. When trying to run select query it fails with:
java.lang.IllegalArgumentException: Can't convert object of type org.postgresql.util.PGobject

It works with geometry data type.

Can anyone help me?
Thanks