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

Bug 342484

Summary: Add API to returns the type of a DatabaseMapping
Product: z_Archived Reporter: Pascal Filion <pascal.filion>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Pascal Filion CLA 2011-04-11 14:09:34 EDT
I would like to know the type of the property or method represented by a DatabaseMapping but there is not DatabaseMapping.getType() : Class<?>. And also to know the generic type with DatabaseMapping.getGenericType() : Type. In order to know the type of most mappings, I have to check many things (aggregate, container policy, attribute accessor, method accessor). I think that behavior should be encapsulated in each mapping.
Comment 1 Eclipse Webmaster CLA 2022-06-09 10:17:10 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:27:36 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink