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/03/11 20:47:32 UTC

cvs commit: db-ojb/xdocs repository.xml

arminw      2004/03/11 11:47:31

  Modified:    src/test/org/apache/ojb repository.dtd
               xdocs    repository.xml
  Log:
  update/clarify batch-mode doc section.
  
  Revision  Changes    Path
  1.54      +7 -4      db-ojb/src/test/org/apache/ojb/repository.dtd
  
  Index: repository.dtd
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/repository.dtd,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- repository.dtd	2 Feb 2004 09:30:47 -0000	1.53
  +++ repository.dtd	11 Mar 2004 19:47:31 -0000	1.54
  @@ -87,10 +87,13 @@
       using OJB within JBoss (3.0 <= version < 3.2.2, seems to be fixed in jboss 3.2.2).
       Only use within JBoss.
   
  -    The batch-mode attribute allow to set batch mode modus global
  -    from the used connection. It is also possible to change
  -    batch mode at runtime, using the
  -    PB.serviceConnectionManager.setBatchMode(...) method.
  +    The batch-mode attribute allow to enable JDBC connection batch support
  +    (if supported by used database), 'true' value allows to enable per-session
  +    batch mode, whereas 'false' prohibits it.
  +    PB.serviceConnectionManager.setBatchMode(...) method can be used
  +    to switch on/off batch modus, if batch-mode was enabled. On PB.close()
  +    OJB switch off batch modus, thus you have to do '...setBatchMode(true)' on each
  +    obtained PB instance.
   
       The useAutoCommit attribute allow to set how OJB uses
       the autoCommit state of the used connections. The default mode
  
  
  
  1.27      +8 -4      db-ojb/xdocs/repository.xml
  
  Index: repository.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/xdocs/repository.xml,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- repository.xml	2 Feb 2004 09:32:33 -0000	1.26
  +++ repository.xml	11 Mar 2004 19:47:31 -0000	1.27
  @@ -234,9 +234,13 @@
       within JBoss.
   </p><p>
       The <a name="jdbc-connection-descriptor.batch-mode"><code>batch-mode</code></a>
  -    attribute allow to set batch mode modus global from the used connection.
  -    It is also possible to change batch mode at runtime, using the
  -    <code>PB.serviceConnectionManager.setBatchMode(...)</code> method.
  +    attribute allow to enable JDBC connection batch support
  +    (if supported by used database), 'true' value allows to enable per-session
  +    batch mode, whereas 'false' prohibits it.
  +    <code>PB.serviceConnectionManager.setBatchMode(...)</code> method can be used
  +    to switch on/off batch modus, if batch-mode was enabled. On PB.close()
  +    OJB switch off batch modus, thus you have to do '...setBatchMode(true)' on each
  +    obtained PB instance again.
   </p><p>
       The <a name="jdbc-connection-descriptor.useAutoCommit"><code>useAutoCommit</code></a>
       attribute allow to set how OJB uses the autoCommit state of the used
  
  
  

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