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

Bug 315408

Summary: JPA: Extend Metamodel test model to include a BasicType superType
Product: z_Archived Reporter: Michael OBrien <michael.f.obrien>
Component: EclipselinkAssignee: Project Inbox <eclipselink.orm-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: eclipselink.orm-inbox, martin.grebac, michael.f.obrien
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
URL: http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/metamodel_api#Mapped_Superclass_Test_Model
Whiteboard:
Bug Depends on: 266912, 302606, 315287    
Bug Blocks: 454799    

Description Michael OBrien CLA 2010-06-02 11:02:59 EDT
>See bug# 315287 where we fixed an initialization issue when a plain java class was added to the root of the fetchgroup model
- we need a similar extension of the Metamodel model at
org.eclipse.persistence.testing.models.jpa.metamodel


>Similar to the extended model where [Gear] was added at the top
>Gear (non-entity/non-mappedSuperclass plain java class - non-persistable)
  +-----HockeyGear (Abstract Entity) (not cacheable)
         +----- GoalieGear (Concrete MappedSuperclass) --- (no cache entry) 
                 +----- Chest Protector (Concrete Entity) ---- cacheable
                 +----- Pads (Concrete Entity) ---- cacheable


>this work is deferred until after 2.1 branches
Comment 1 Michael OBrien CLA 2010-07-21 14:04:22 EDT
>We already have in the JPA test suite
Position (concrete non-entity, non-embeddable, non-mappedSuperclass)
  +--GalacticPosition (@Entity using @Inheritance(strategy=JOINED) and
@Access(AccessType.FIELD)

Which resolves to BasicType(Position) <-- EntityType(GalacticPosition)

>However we need a set of extensive validation test functions
Comment 2 Michael OBrien CLA 2010-10-26 09:04:27 EDT
>we already have part of this - deferring the rest of the work above
Comment 3 Peter Krogh CLA 2010-11-10 11:06:48 EST
Deferring to Future, as part of 2.2 bug scrub.
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:04:57 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink