db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mahler Thomas <thomas.mah...@itellium.com>
Subject AW: Batch mode
Date Tue, 03 Dec 2002 08:03:10 GMT
Cool feature!

> -----Urspr√ľngliche Nachricht-----
> Von: Oleg Nitz [mailto:on@ukr.net]
> Gesendet: Montag, 2. Dezember 2002 20:20
> An: OJB Developers List
> Betreff: Batch mode
> 
> 
> Hi All,
> 
> I have added a batch mode of PersistenceBroker/ConnectionManager.
> It can be turned on as follows:
>    broker.getConnectionManager().setBatchMode(true);
> this delays actual execution of all SQL statements until the 
> transaction 
> commit or call of 
>    broker.getConnectionManager().executeBatch();
> and the statements are authomatically gathered into batches.
> Of course this works only if the JDBC driver supports batch updates.
> For ODMG the batch mode is now turned on by default, but can 
> be turned off via 
> the "BatchMode" parameter from OJB.properties.
> I am waiting for comments and success stories :)))
> 
> Regards,
>   Oleg
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:ojb-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:ojb-dev-help@jakarta.apache.org>
> 
> 


Mime
View raw message