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

Bug 370877

Summary: missing java eclipselink customizer validation
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: JPAAssignee: Karen Butzke <karenfbutzke>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jolene.moffitt
Version: 3.1   
Target Milestone: 3.2 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Karen Butzke CLA 2012-02-07 14:47:23 EST
While fixing bug 351975, the validation for an EclispeLink customizer specified in java was broken. If the class is not fully qualified, we no longer get validation that the class does not have a public zero arg constructor or that it does not implement DescriptorCustomizer.

The following example should have a validation error and it does not.

@Entity
@Customizer(FooCustomizer.class)
public class Employee {}

package com.foo;
public class FooCustomizer {

    private FooCustomizer() {
        super();
    }
}
Comment 1 Karen Butzke CLA 2012-02-09 14:47:41 EST
fixed in M6
Comment 2 Jolene Moffitt CLA 2012-03-27 09:11:23 EDT
Verified in Build S-3.4.0-20120319200442 

Verified validation appears for java eclipselink customizer.  See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.2_M6