db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcai...@apache.org
Subject svn commit: r584220 - /db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedJPA/JPAAppProject.java
Date Fri, 12 Oct 2007 18:08:25 GMT
Author: mcaisse
Date: Fri Oct 12 11:07:55 2007
New Revision: 584220

URL: http://svn.apache.org/viewvc?rev=584220&view=rev
Log:
JDO-539

Modified:
    db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedJPA/JPAAppProject.java

Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedJPA/JPAAppProject.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedJPA/JPAAppProject.java?rev=584220&r1=584219&r2=584220&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedJPA/JPAAppProject.java
(original)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedJPA/JPAAppProject.java
Fri Oct 12 11:07:55 2007
@@ -53,15 +53,13 @@
     private String     name;
     @Column(name="BUDGET", length=11, scale=2)
     private BigDecimal budget;
-    @Column(name="REVIEWER")
     @ManyToMany(targetEntity=org.apache.jdo.tck.pc.companyAnnotatedJPA.JPAAppEmployee.class)
-    @JoinTable(name="project_reviewer")
-    //@JoinColumn(name="PROJID")
+    @JoinTable(name="project_reviewer", joinColumns=@JoinColumn(name="PROJID"),
+            inverseJoinColumns=@JoinColumn(name="REVIEWER"))
     private Set reviewers = new HashSet();
-    @Column(name="MEMBER_JPA")
     @ManyToMany(targetEntity=org.apache.jdo.tck.pc.companyAnnotatedJPA.JPAAppEmployee.class)
-    @JoinTable(name="project_member")
-    //@JoinColumn(name="PROJID")
+    @JoinTable(name="project_member", joinColumns=@JoinColumn(name="PROJID"),
+            inverseJoinColumns=@JoinColumn(name="MEMBER"))
     private Set members = new HashSet();
     
     /** This is the JDO-required no-args constructor. The TCK relies on



Mime
View raw message