@ManyToOne is never output with referencedColumnName attribute, even when 
called for
------------------------------------------------------------------------------------

                 Key: OPENJPA-1423
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1423
             Project: OpenJPA
          Issue Type: Bug
          Components: tooling
    Affects Versions: 1.2.1
            Reporter: Laird Nelson


AnnotationPersistenceMappingSerializer decides whether or not to include the 
referencedColumnName attribute in the @ManyToOne annotation based on whether 
the column passed to the serializeColumn() method has a non-null value for 
getTarget() (see line 544 or thereabouts).  But the kind of column that is 
passed to this method will never have a target, as far as I can tell.  
Consequently it looks like referencedColumnName can never be output.

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

Reply via email to