db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r553305 - in /db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedApp: FCProject.java PIProject.java
Date Wed, 04 Jul 2007 19:25:19 GMT
Author: clr
Date: Wed Jul  4 12:25:18 2007
New Revision: 553305

URL: http://svn.apache.org/viewvc?view=rev&rev=553305
Log:
JDO-403 Moved table from @Join to @Property; fixed typo in proj_reviewer, proj_member

Modified:
    db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedApp/FCProject.java
    db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedApp/PIProject.java

Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedApp/FCProject.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedApp/FCProject.java?view=diff&rev=553305&r1=553304&r2=553305
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedApp/FCProject.java (original)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedApp/FCProject.java Wed
Jul  4 12:25:18 2007
@@ -53,14 +53,14 @@
     @Column(name="BUDGET", jdbcType="DECIMAL", length=11, scale=2)
     private BigDecimal budget;
     @Field(persistenceModifier=FieldPersistenceModifier.PERSISTENT,
-            table="proj_reviewer")
+            table="project_reviewer")
     @Element(types=org.apache.jdo.tck.pc.companyAnnotatedApp.FCEmployee.class,
             column="REVIEWER")
     @Join(column="PROJID")
     //@Join(column="PROJID", foreignKey=@ForeignKey(name="PR_PROJ_FK"))
     private transient Set reviewers = new HashSet();
     @Field(persistenceModifier=FieldPersistenceModifier.PERSISTENT,
-            table="proj_member")
+            table="project_member")
     @Element(types=org.apache.jdo.tck.pc.companyAnnotatedApp.FCEmployee.class,
             column="MEMBER")
     //@Element(types=org.apache.jdo.tck.pc.companyAnnotatedApp.FCEmployee.class,

Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedApp/PIProject.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedApp/PIProject.java?view=diff&rev=553305&r1=553304&r2=553305
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedApp/PIProject.java (original)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedApp/PIProject.java Wed
Jul  4 12:25:18 2007
@@ -39,18 +39,20 @@
     String getName();
     @Column(name="BUDGET", jdbcType="DECIMAL", length=11, scale=2)
     BigDecimal getBudget();
-    @Property(persistenceModifier=FieldPersistenceModifier.PERSISTENT)
+    @Property(persistenceModifier=FieldPersistenceModifier.PERSISTENT,
+            table="project_reviewer")
     @Element(types=org.apache.jdo.tck.pc.companyAnnotatedApp.FCEmployee.class,
             column="REVIEWER")
-    @Join(column="PROJID", table="proj_reviewer")
+    @Join(column="PROJID")
     //@Join(column="PROJID", foreignKey=@ForeignKey(name="PR_PROJ_FK"))
     Set getReviewers();
-    @Property(persistenceModifier=FieldPersistenceModifier.PERSISTENT)
+    @Property(persistenceModifier=FieldPersistenceModifier.PERSISTENT,
+            table="project_member")
     @Element(types=org.apache.jdo.tck.pc.companyAnnotatedApp.FCEmployee.class,
             column="MEMBER")
     //@Element(types=org.apache.jdo.tck.pc.companyAnnotatedApp.FCEmployee.class,
     //    foreignKey=@ForeignKey(name="PR_REV_FK"))
-    @Join(column="PROJID", table="proj_member")
+    @Join(column="PROJID")
     Set getMembers();
     
     void setProjid(long projid);



Mime
View raw message