Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 316030

Summary: NPE in MapsId derived identity strategy when there is no id
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: GeneralAssignee: Paul Fullbright <paul.fullbright>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: neil.hauge
Version: 2.3   
Target Milestone: 3.0 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
NPE stack trace none

Description Karen Butzke CLA 2010-06-07 13:06:58 EDT
Created attachment 171304 [details]
NPE stack trace

Validation of the following entity results in the attached NPE and no validation errors for this entity:

@Entity
public class Address {
	private int addressId;
	
	@OneToOne
	@MapsId
	@JoinColumn(name="ADDRESS_ID")
	private Address contact;
}
Comment 1 Neil Hauge CLA 2011-05-10 16:36:13 EDT
I can no longer reproduce this exception.  Everything seems to be working wrt this area.