KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > jdbc > NonBatchingBatcherFactory


1 //$Id: NonBatchingBatcherFactory.java,v 1.4 2005/05/09 22:12:48 steveebersole Exp $
2
package org.hibernate.jdbc;
3
4
5 /**
6  * A BatcherFactory implementation which constructs Batcher instances
7  * that do not perform batch operations.
8  *
9  * @author Gavin King
10  */

11 public class NonBatchingBatcherFactory implements BatcherFactory {
12
13     public Batcher createBatcher(ConnectionManager connectionManager) {
14         return new NonBatchingBatcher( connectionManager );
15     }
16
17 }
18
Popular Tags