Could you please look at:
This bug is two years old, and causes NPE during query for entity mapped with @Id
@OneToOne. This is legal as per JPA specification, yet is not working as of Hibernate ORM
4.0.0 till the most recent version.
Could this bug be scheduled for 4.1.10.Final?