continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r219532 - /maven/continuum/trunk/continuum-model/src/main/resources/META-INF/package.jdo
Date Mon, 18 Jul 2005 16:48:20 GMT
Author: jvanzyl
Date: Mon Jul 18 09:44:17 2005
New Revision: 219532

URL: http://svn.apache.org/viewcvs?rev=219532&view=rev
Log:
o create a detail fetch group for schedules so that projects associated with
  the said schedule are retrieved.

Modified:
    maven/continuum/trunk/continuum-model/src/main/resources/META-INF/package.jdo

Modified: maven/continuum/trunk/continuum-model/src/main/resources/META-INF/package.jdo
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-model/src/main/resources/META-INF/package.jdo?rev=219532&r1=219531&r2=219532&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-model/src/main/resources/META-INF/package.jdo (original)
+++ maven/continuum/trunk/continuum-model/src/main/resources/META-INF/package.jdo Mon Jul
18 09:44:17 2005
@@ -7,7 +7,7 @@
 <jdo>
   <package name="org.apache.maven.continuum.project">
     <class name="ContinuumProject" detachable="true" identity-type="application">
-      <field name="id" persistence-modifier="persistent" null-value="exception" primary-key="true"
value-strategy="native"/>
+      <field name="id" persistence-modifier="persistent" primary-key="true" value-strategy="native"/>
       <field name="name" persistence-modifier="persistent"/>
       <field name="scmUrl" persistence-modifier="persistent"/>
       <field name="version" persistence-modifier="persistent"/>
@@ -52,18 +52,21 @@
         <field name="schedules"/>        
       </fetch-group>
     </class>
-    
+
     <class name="ContinuumSchedule" detachable="true" identity-type="application">
-      <field name="projects" persistence-modifier="persistent" mapped-by="schedules">
+      <field name="projects" persistence-modifier="persistent" mapped-by="schedules">
   
         <collection element-type="ContinuumProject"/>
       </field>
-      <field name="id" persistence-modifier="persistent" null-value="exception" primary-key="true"
value-strategy="native"/>
+      <field name="id" persistence-modifier="persistent" primary-key="true" value-strategy="native"/>
       <field name="name" persistence-modifier="persistent"/>
       <field name="description" persistence-modifier="persistent"/>
       <field name="active" persistence-modifier="persistent"/>
       <field name="scmMode" persistence-modifier="persistent"/>      
       <field name="delay" persistence-modifier="persistent"/>      
-      <field name="cronExpression" persistence-modifier="persistent"/>            
+      <field name="cronExpression" persistence-modifier="persistent"/>
+      <fetch-group name="schedule-detail">
+        <field name="projects"/>        
+      </fetch-group>      
     </class>
     
     <class name="ContinuumNotifier" detachable="true" identity-type="datastore">



Mime
View raw message