Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370877 - missing java eclipselink customizer validation
Summary: missing java eclipselink customizer validation
Status: VERIFIED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M6   Edit
Assignee: Karen Butzke CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-07 14:47 EST by Karen Butzke CLA
Modified: 2012-03-27 09:11 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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