Exception throwing while Postgis Gemetry type in Hibernate 5.0.

Description

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.

Environment

None

Status

Assignee

Karel Maesen

Reporter

narsi gadde

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.0.0.Final

Priority

Major