db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/accesslayer ConnectionManagerImpl.java
Date Fri, 06 Jun 2003 20:12:56 GMT
thma        2003/06/06 13:12:56

  Modified:    src/java/org/apache/ojb/broker/accesslayer
                        ConnectionManagerImpl.java
  Log:
  add explantory javadocs
  
  Revision  Changes    Path
  1.7       +7 -1      db-ojb/src/java/org/apache/ojb/broker/accesslayer/ConnectionManagerImpl.java
  
  Index: ConnectionManagerImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/accesslayer/ConnectionManagerImpl.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ConnectionManagerImpl.java	21 May 2003 16:49:42 -0000	1.6
  +++ ConnectionManagerImpl.java	6 Jun 2003 20:12:54 -0000	1.7
  @@ -118,6 +118,12 @@
       /**
        * Returns the underlying connection, requested at the
        * {@link org.apache.ojb.broker.accesslayer.ConnectionFactory}.
  +     * PB.beginTransaction() opens a single jdbc connection via 
  +	 * serviceConnectionManager().localBegin().
  +	 * If you call ask serviceConnectionManager().getConnection() later 
  +	 * it returns the already opened connection.
  +	 * the PB instance will close the connection during 
  +	 * commitTransaction() or abortTransaction().
        */
       public Connection getConnection() throws LookupException
       {
  
  
  

Mime
View raw message