You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2004/07/06 23:29:21 UTC

cvs commit: jakarta-jetspeed-2/components/registry/src/java/META-INF ojb_repository.xml

taylor      2004/07/06 14:29:21

  Modified:    components/registry/src/java/META-INF ojb_repository.xml
  Log:
  updated O/R mapping for new JETSPEED-SERVICE table
  
  completed step 1 of JS2-70 -- Support service definitions in Jetspeed portlet descriptor
  step 3 is completed, leaving only step 2 (validation)
  
  http://nagoya.apache.org/jira/browse/JS2-70
  
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.8       +42 -0     jakarta-jetspeed-2/components/registry/src/java/META-INF/ojb_repository.xml
  
  Index: ojb_repository.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/registry/src/java/META-INF/ojb_repository.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ojb_repository.xml	18 Jun 2004 20:41:45 -0000	1.7
  +++ ojb_repository.xml	6 Jul 2004 21:29:20 -0000	1.8
  @@ -207,6 +207,16 @@
            <inverse-foreignkey field-ref="appId"/>
         </collection-descriptor>
   
  +	  <collection-descriptor
  +         name="services"
  +         element-class-ref="org.apache.jetspeed.om.impl.JetspeedServiceReferenceImpl"
  +         auto-delete="true"
  +      	 auto-update = "true"
  +      	 auto-retrieve = "true"
  +       >         
  +         <inverse-foreignkey field-ref="appId"/>
  +      </collection-descriptor>
  +
      </class-descriptor>
      
   
  @@ -1272,6 +1282,38 @@
            jdbc-type="VARCHAR"         
         />
           
  +   </class-descriptor>
  +
  +
  +   <!-- 
  +   - S E R V I C E S
  +   -->
  +     <class-descriptor
  +   	  class="org.apache.jetspeed.om.impl.JetspeedServiceReferenceImpl"
  +   	  proxy="dynamic"
  +   	  table="JETSPEED_SERVICE"
  +   >
  +      
  +      <field-descriptor
  +         name="id"
  +         column="ID"
  +         jdbc-type="BIGINT"
  +         primarykey="true"
  +         autoincrement="true"
  +         access="anonymous"        
  +      />
  +      
  +      <field-descriptor
  +         name="appId"
  +         column="APPLICATION_ID"
  +         jdbc-type="BIGINT"
  +      />
  +      
  +      <field-descriptor
  +         name="name"
  +         column="NAME"
  +         jdbc-type="VARCHAR"         
  +      />   
      </class-descriptor>
   
   </descriptor-repository>  
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org