| Summary: | JPA: Metamodel initialization fails when non-Entity-non-MappedSuperclass BasicType at root of hierachy | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Michael OBrien <michael.f.obrien> | ||||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | major | ||||||||
| Priority: | P2 | CC: | eclipselink.orm-inbox, tomt258 | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| URL: | http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/metamodel_api#DI_103:_20100601:_315287:_Handle_BasicType_as_inheritance_root_for_ManagedTypes | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | 266912 | ||||||||
| Bug Blocks: | 315408, 248780, 303722, 338837 | ||||||||
| Attachments: |
|
||||||||
|
Description
Michael OBrien
>blocks main metamodel bug# 266912 (finished)
>blocks cache API bug (because of the pojo root at the extended test model)
>this breaks all Criteria API users that have a model where an Entity or MappedSuperclass inherit from a BasicType
>predeploy succeeds
>em.getMetamodel() fails
Created attachment 170725 [details]
Handle BasicType as JPA inheritance superclass of Metamodel ManagedType
Created attachment 170738 [details]
Handle BasicType as JPA inheritance superclass of Metamodel ManagedType
>see SVN rev# 7444 with test results http://fisheye2.atlassian.com/changelog/eclipselink/?cs=7444 >see additional future expansion of metamodel test model with BasicType inheritance root http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/metamodel_api#Mapped_Superclass_Test_Model *** Bug 302606 has been marked as a duplicate of this bug. *** The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |