Issue Details (XML | Word | Printable)

Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus Enhancer (ARCHIVED)

Upgrade enhancement to support having application-id classes which are not instantiable (MappedSuperclass)

Created: 18/Feb/11 05:39 PM   Updated: 01/Apr/11 03:27 PM   Resolved: 18/Feb/11 06:45 PM
Component/s: ASM Enhancer
Affects Version/s: None
Fix Version/s: 3.0.0.m2

 Description  « Hide
If we interpret the JPA @MappedSuperclass such that it can be defined on a (base) class and that class not have any PK defined then we need to change the enhancement contract to provide different implementations of
to just throw an exception, since should not be called.

Andy Jefferson added a comment - 18/Feb/11 06:45 PM
See also NUCCORE-649. This is supported in SVN trunk and tested on basic case of two uninstantiable superclasses with an instantiable subclass with the PK field(s)

Andy Jefferson made changes - 18/Feb/11 06:45 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 01/Apr/11 03:27 PM
Status Resolved [ 5 ] Closed [ 6 ]