We're updating the issue view to help you get more done. 

Postgres 9.5 ERROR: Invalid endian flag value encountered

Description

We are defining below spatial column with PostGIS in Postgres 9.5.
@NotNull
@Column(name = "location", nullable = false, updatable = false, columnDefinition = "Geometry(Point,4326)")
public Point location;

Each time we get an error:
SQL Error: 0, SQLState: XX000
ERROR: Invalid endian flag value encountered
HHH000010: On release of batch it still contained JDBC statements

Environment

Maven <dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-spatial</artifactId>
<version>5.2.2.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.2.2.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>5.2.2.Final</version>
</dependency>

Java 8

Status

Assignee

Unassigned

Reporter

Marcin Kwasnik

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.2.2

Priority

Major