db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Armin Waibel" <armin.wai...@code-au-lait.de>
Subject Re: cvs commit: db-ojb/src/java/org/apache/ojb/broker/accesslayer ConnectionManagerImpl.java
Date Sun, 06 Apr 2003 18:08:23 GMT
Hi Oleg,

there are some user (one I remember ;-)) who proposed to
let this 'hack' be normal behaviour. Then it is
a) possible to write code using batch updates
with the PB-api and
b) if you don't want to use it, easy to completely
switch off without source changes
Currently it is not possible, if your database supports
batch updates, NOT to use this feature in ODMG
(or PB level if batch is set true).

What are the arguments against such a behaviour?

regards,
Armin

----- Original Message -----
From: <olegnitz@apache.org>
To: <db-ojb-cvs@apache.org>
Sent: Sunday, April 06, 2003 7:26 PM
Subject: cvs commit: db-ojb/src/java/org/apache/ojb/broker/accesslayer
ConnectionManagerImpl.java


> olegnitz    2003/04/06 10:26:44
>
>   Modified:    src/java/org/apache/ojb/broker/accesslayer
>                         ConnectionManagerImpl.java
>   Log:
>   Batch mode for ODMG turned on back since all known problems are
solved
>
>   Revision  Changes    Path
>   1.5       +2 -11
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/ConnectionMa
nagerImpl.java,v
>   retrieving revision 1.4
>   retrieving revision 1.5
>   diff -u -r1.4 -r1.5
>   --- ConnectionManagerImpl.java 20 Mar 2003 19:13:55 -0000 1.4
>   +++ ConnectionManagerImpl.java 6 Apr 2003 17:26:44 -0000 1.5
>   @@ -307,16 +307,7 @@
>         */
>        public void setBatchMode(boolean mode)
>        {
>   -        /*
>   -        arminw:
>   -        HACK,
>   -        only enable batch-mode when user set attribute
>   -        'true' till problem with batch-mode are solved.
>   -        This allows user to set batch mode 'true' in code
>   -        but give full control via configuration file 'batch-mode'
>   -        attribute.
>   -        */
>   -        batchMode = mode && jcd.getBatchMode();
>   +        batchMode = mode;
>        }
>
>        /**
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
>
>
>


Mime
View raw message