openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ss...@apache.org
Subject svn commit: r489768 - /incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/ClassMappingInfo.java
Date Fri, 22 Dec 2006 21:21:20 GMT
Author: ssegu
Date: Fri Dec 22 13:21:19 2006
New Revision: 489768

URL: http://svn.apache.org/viewvc?view=rev&rev=489768
Log:
Fix - return the qualified SecondaryTableName

Modified:
    incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/ClassMappingInfo.java

Modified: incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/ClassMappingInfo.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/ClassMappingInfo.java?view=diff&rev=489768&r1=489767&r2=489768
==============================================================================
--- incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/ClassMappingInfo.java
(original)
+++ incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/ClassMappingInfo.java
Fri Dec 22 13:21:19 2006
@@ -150,7 +150,7 @@
             // immediately return an exact match with schema
             join = fullJoin.substring(idx + 1);
             if (join.equals(tableName))
-                return join;
+                return fullJoin;
 
             // caseless match with schema worth 1 point
             if (pts < 1 && join.equalsIgnoreCase(tableName)) {



Mime
View raw message