mirror of https://github.com/apache/openjpa.git
OPENJPA-392
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581933 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cafd3d7a62
commit
22e5530d0c
|
@ -425,7 +425,7 @@ public class AnnotationPersistenceMappingParser
|
|||
if (!StringUtils.isEmpty(join.name()))
|
||||
col.setName(join.name());
|
||||
if (!StringUtils.isEmpty(join.columnDefinition()))
|
||||
col.setName(join.columnDefinition());
|
||||
col.setTypeName(join.columnDefinition());
|
||||
if (!StringUtils.isEmpty(join.referencedColumnName()))
|
||||
col.setTarget(join.referencedColumnName());
|
||||
return col;
|
||||
|
@ -1187,7 +1187,7 @@ public class AnnotationPersistenceMappingParser
|
|||
if (!StringUtils.isEmpty(join.name()))
|
||||
col.setName(join.name());
|
||||
if (!StringUtils.isEmpty(join.columnDefinition()))
|
||||
col.setName(join.columnDefinition());
|
||||
col.setTypeName(join.columnDefinition());
|
||||
if (!StringUtils.isEmpty(join.referencedColumnName()))
|
||||
col.setTarget(join.referencedColumnName());
|
||||
col.setNotNull(!join.nullable());
|
||||
|
@ -1240,7 +1240,7 @@ public class AnnotationPersistenceMappingParser
|
|||
if (!StringUtils.isEmpty(join.name()))
|
||||
col.setName(join.name());
|
||||
if (!StringUtils.isEmpty(join.columnDefinition()))
|
||||
col.setName(join.columnDefinition());
|
||||
col.setTypeName(join.columnDefinition());
|
||||
if (!StringUtils.isEmpty(join.referencedColumnName()))
|
||||
col.setTarget(join.referencedColumnName());
|
||||
if (!StringUtils.isEmpty(join.referencedAttributeName()))
|
||||
|
@ -1346,7 +1346,7 @@ public class AnnotationPersistenceMappingParser
|
|||
if (!StringUtils.isEmpty(join.name()))
|
||||
col.setName(join.name());
|
||||
if (!StringUtils.isEmpty(join.columnDefinition()))
|
||||
col.setName(join.columnDefinition());
|
||||
col.setTypeName(join.columnDefinition());
|
||||
if (!StringUtils.isEmpty(join.referencedColumnName()))
|
||||
col.setTarget(join.referencedColumnName());
|
||||
if (!StringUtils.isEmpty(join.referencedAttributeName()))
|
||||
|
|
Loading…
Reference in New Issue