Location entity type JTS as Geometry... when reading Geometry value from database it's
Exception throwing Postgis tn Hibernate 5.0.
Class PGGeometryTypeDescriptor throwing when it's calling toGeometry method
buffer = ByteBuffer.from( ( (PGobject) object ).getValue() );
PGobject value is SRID=4326;POINT(52.25 2.53) it's thriowing Integer parsing exception..
Before Hibernate upgrade to 5.0 it used to work.
Any insight will help full.