db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb/xdocs tutorial3.xml
Date Mon, 03 Mar 2003 20:19:56 GMT
brj         2003/03/03 12:19:56

  Modified:    xdocs    tutorial3.xml
  Log:
  customizing collection proxy class
  
  Revision  Changes    Path
  1.18      +21 -0     db-ojb/xdocs/tutorial3.xml
  
  Index: tutorial3.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/xdocs/tutorial3.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- tutorial3.xml	3 Mar 2003 20:08:49 -0000	1.17
  +++ tutorial3.xml	3 Mar 2003 20:19:55 -0000	1.18
  @@ -49,6 +49,7 @@
       <ul>
         <li><A HREF="#using dynamic proxies">using dynamic proxies</A></li>
         <li><A HREF="#using a single proxy for a whole collection">using a single
proxy for a whole collection</A></li>
  +      <li><A HREF="#customizing collection proxy class">customizing the collection
proxy class</A></li>
         <li><A HREF="#using a proxy for a reference">using a proxy for a reference</A></li>
       </ul>
     </li>
  @@ -1017,6 +1018,26 @@
   Although it's possible to mix the collection proxy concept with the proxy class
   concept, it's not recommended because it increases the number of db-calls.
   </p>
  +</subsection>
  +
  +<subsection name="customizing collection proxy class">
  +<p>
  +The optional CollectionProxy entry in <b>OJB.properties</b> defines the class
to be used for CollectionProxies.
  +If this entry is null <code>org.apache.ojb.broker.accesslayer.ListProxy</code>
is used for Lists
  +and <code>org.apache.ojb.broker.accesslayer.CollectionProxy</code> for Collections.
  +</p>
  +
  +<source><![CDATA[
  +...
  +#-----------------------------------------------
  +# CollectionProxy class
  +#-----------------------------------------------
  +#
  +#CollectionProxyClass=
  +#
  +...
  +]]></source>
  +
   </subsection>
   
   <subsection name="using a proxy for a reference">
  
  
  

Mime
View raw message