I downloaded Hibernate 5.0.2 and attempted to reproduce the problem I described above I didn't see any NPE this time. I would therefore assume that the error doesn't affect version 5.0 and so this issue can be closed if you wish.