DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Key: NUCCORE-619
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus Core

When embedding a field, should default to the metadata for the field in the owning class

Created: 22/Dec/10 09:37 AM   Updated: 23/Jan/11 11:57 AM   Resolved: 22/Dec/10 09:52 AM
Component/s: MetaData
Affects Version/s: 2.0.0.release, 2.1.0.release, 2.2.0.release
Fix Version/s: 2.2.1, 3.0.0.m1

 Description  « Hide
If we have
class A
    B b;

class B
    String name;

then we haven't specified the mapping information for the A.b field so should fallback to the metadata defined for B itself ... e.g the column name of, or if a field is defined as not persistent

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 22/Dec/10 09:52 AM
2.2 and 3.0 have this now