cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r606489 - /cayenne/main/trunk/framework/cayenne-jpa-unpublished/src/main/java/org/apache/cayenne/jpa/conf/MemberAnnotationProcessorFactory.java
Date Sat, 22 Dec 2007 20:46:25 GMT
Author: aadamchik
Date: Sat Dec 22 12:46:24 2007
New Revision: 606489

URL: http://svn.apache.org/viewvc?rev=606489&view=rev
Log:
JPA: typo bug that failed to load any classes with @ManyToMany annotation

Modified:
    cayenne/main/trunk/framework/cayenne-jpa-unpublished/src/main/java/org/apache/cayenne/jpa/conf/MemberAnnotationProcessorFactory.java

Modified: cayenne/main/trunk/framework/cayenne-jpa-unpublished/src/main/java/org/apache/cayenne/jpa/conf/MemberAnnotationProcessorFactory.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jpa-unpublished/src/main/java/org/apache/cayenne/jpa/conf/MemberAnnotationProcessorFactory.java?rev=606489&r1=606488&r2=606489&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jpa-unpublished/src/main/java/org/apache/cayenne/jpa/conf/MemberAnnotationProcessorFactory.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jpa-unpublished/src/main/java/org/apache/cayenne/jpa/conf/MemberAnnotationProcessorFactory.java
Sat Dec 22 12:46:24 2007
@@ -565,7 +565,7 @@
                 ((JpaManyToOne) attribute).setJoinTable(joinTable);
             }
             else if (attribute instanceof JpaManyToMany) {
-                ((JpaManyToOne) attribute).setJoinTable(joinTable);
+                ((JpaManyToMany) attribute).setJoinTable(joinTable);
             }
             else {
                 super.onAttribute(attribute, element, context);



Mime
View raw message