Open Source Repository

Home /hibernate/hibernate-3.2.7.ga | Repository Home



org/hibernate/jdbc/NonBatchingBatcherFactory.java
//$Id: NonBatchingBatcherFactory.java 7683 2005-07-29 19:10:20Z maxcsaucdk $
package org.hibernate.jdbc;

import org.hibernate.Interceptor;


/**
 * A BatcherFactory implementation which constructs Batcher instances
 * that do not perform batch operations.
 *
 @author Gavin King
 */
public class NonBatchingBatcherFactory implements BatcherFactory {

  public Batcher createBatcher(ConnectionManager connectionManager, Interceptor interceptor) {
    return new NonBatchingBatcherconnectionManager, interceptor );
  }

}