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

NullPointerException when retrieving data for entity with InheritanceType.SINGLE_TABLE on Neo4j

Description

A native query in Neo4jRemote returns the discrimnator type value as a Long instead of an Integer.
Because of this the equality doesn't work and the OgmLoader cannot find the sub class corresponding to the discriminator value.
This causes a NullPointerException.

Environment

Hibernate OGM 4.5.1, Wildfly 14.0.1, Zulu 8, Windows 10, Neo4j 3.5.1

Status

Assignee

Davide D'Alto

Reporter

Mlondolozi Shandu

Labels

None

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

backportReEvaluate

None

Components

Affects versions

5.4.1.Final

Priority

Major