openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fay Wang (JIRA)" <>
Subject [jira] Created: (OPENJPA-1396) metadata-complete in the orm file does not override @Transition annotation
Date Thu, 19 Nov 2009 06:00:40 GMT
metadata-complete in the orm file does not override @Transition annotation 

                 Key: OPENJPA-1396
             Project: OpenJPA
          Issue Type: Bug
          Components: jpa
    Affects Versions: 2.0.0
            Reporter: Fay Wang
            Assignee: Fay Wang
             Fix For: 2.0.0

In the orm.xml:

	<embeddable class="embeddable.Address" metadata-complete="true"/

where embeddable.Address is defined as:

public class Address {
    protected String street;

    protected String city;
    protected String state;

According to the spec ( "If the metadata-complete attribute of the embeddable element
is specified as true, any annotations on the embeddable class (and its fields and properties)
are ignored. When metadata-complete is specified as true and attributes and sub-elements of
the embeddable element are omitted, the default values for those attributes and elements are
applied.". However, the value of the street field in the Address class is not persistent.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message