You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2007/12/22 21:46:25 UTC
svn commit: r606489 -
/cayenne/main/trunk/framework/cayenne-jpa-unpublished/src/main/java/org/apache/cayenne/jpa/conf/MemberAnnotationProcessorFactory.java
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);