org.kuali.common.jdbc.model.context
Class JdbcContext.Builder

java.lang.Object
  extended by org.kuali.common.jdbc.model.context.JdbcContext.Builder
Enclosing class:
JdbcContext

public static class JdbcContext.Builder
extends Object


Constructor Summary
JdbcContext.Builder(DataSource dataSource, List<SqlSupplier> suppliers)
           
JdbcContext.Builder(DataSource dataSource, SqlSupplier supplier)
           
 
Method Summary
 JdbcContext build()
           
 JdbcContext.Builder commitMode(CommitMode commitMode)
           
 JdbcContext.Builder listener(SqlListener listener)
           
 JdbcContext.Builder message(String message)
           
 JdbcContext.Builder multithreaded(boolean multithreaded)
           
 JdbcContext.Builder skipSqlExecution(boolean skipSqlExecution)
           
 JdbcContext.Builder threads(int threads)
           
 JdbcContext.Builder trackProgressByUpdateCount(boolean trackProgressByUpdateCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcContext.Builder

public JdbcContext.Builder(DataSource dataSource,
                           SqlSupplier supplier)

JdbcContext.Builder

public JdbcContext.Builder(DataSource dataSource,
                           List<SqlSupplier> suppliers)
Method Detail

build

public JdbcContext build()

skipSqlExecution

public JdbcContext.Builder skipSqlExecution(boolean skipSqlExecution)

multithreaded

public JdbcContext.Builder multithreaded(boolean multithreaded)

listener

public JdbcContext.Builder listener(SqlListener listener)

commitMode

public JdbcContext.Builder commitMode(CommitMode commitMode)

trackProgressByUpdateCount

public JdbcContext.Builder trackProgressByUpdateCount(boolean trackProgressByUpdateCount)

message

public JdbcContext.Builder message(String message)

threads

public JdbcContext.Builder threads(int threads)


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.