NPE when entity class missing from persistence.xml is id of another entity

Description

When an entity has

and developer has forgotten to add OtherEntity to persistence.xml, a NPE is thrown

This only happens if reference to OtherEntity has @Id annotation.

This is problem occurs on 7.0.0.Beta5. On 6.6 no exception is thrown.

Attachments

1

Activity

Show:

Details

Assignee

Reporter

Affects versions

Priority

Created 4 days ago
Updated 9 hours ago