From 22e5530d0c819cfdc15e629d3c92657c8ed992dc Mon Sep 17 00:00:00 2001 From: Patrick Linskey Date: Thu, 4 Oct 2007 14:44:37 +0000 Subject: [PATCH] OPENJPA-392 git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581933 13f79535-47bb-0310-9956-ffa450edef68 --- .../jdbc/AnnotationPersistenceMappingParser.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/AnnotationPersistenceMappingParser.java b/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/AnnotationPersistenceMappingParser.java index 37a6d22ae..281d284ca 100644 --- a/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/AnnotationPersistenceMappingParser.java +++ b/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/AnnotationPersistenceMappingParser.java @@ -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()))