You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by ar...@apache.org on 2004/05/06 20:55:49 UTC

cvs commit: db-ojb/forrest/src/documentation/content/xdocs/docu connection.xml

arminw      2004/05/06 11:55:49

  Modified:    forrest/src/documentation/content/xdocs/docu connection.xml
  Log:
  add introduction
  
  Revision  Changes    Path
  1.3       +10 -4     db-ojb/forrest/src/documentation/content/xdocs/docu/connection.xml
  
  Index: connection.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/forrest/src/documentation/content/xdocs/docu/connection.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- connection.xml	5 May 2004 13:15:30 -0000	1.2
  +++ connection.xml	6 May 2004 18:55:49 -0000	1.3
  @@ -29,7 +29,13 @@
           <section>
               <title>Introduction</title>
               <p>
  +                In this section the connection handling within OJB will be described. OJB use two
  +                classes which share the connection management:
               </p>
  +            <ul>
  +                <li><code>org.apache.ojb.broker.accesslayer.ConnectionFactory</code></li>
  +                <li><code>org.apache.ojb.broker.accesslayer.ConnectionManagerIF</code></li>
  +            </ul>
           </section>
   
           <anchor id="connection-factory"/>
  @@ -219,18 +225,18 @@
   broker.close();
                   </source>
                   <note>
  -                    Do not close or commit the connection, this will be done by OJB when PersistenceBroker
  +                    Do not commit the connection instance, this will be done by OJB when PersistenceBroker
                       commit-/abortTransaction was called.
                   </note>
                   <p>
                       If no transaction was running, it is possible to release connection after
  -                    use  by hand when calling
  +                    use  by hand:
                   </p>
                   <source>
   pBroker.serviceConnectionManager().releaseConnection();
                   </source>
                   <p>
  -                    This call cleanup the used connection by pass the instance to release method
  +                    This call cleanup the used connection and pass the instance to release method
                       of <link href="#connection-factory"><em>ConnectionFactory</em></link> (this will e.g.
                       return connection it to pool or close it).
                       If you don't do any connection cleanup at the latest the connection will be released
  
  
  

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