org.jumpmind.symmetric.util
Class MaxRowsStatementCreator

java.lang.Object
  extended by org.jumpmind.symmetric.util.MaxRowsStatementCreator
All Implemented Interfaces:
org.springframework.jdbc.core.PreparedStatementCreator

public class MaxRowsStatementCreator
extends java.lang.Object
implements org.springframework.jdbc.core.PreparedStatementCreator


Constructor Summary
MaxRowsStatementCreator(java.lang.String sql, int maxRows)
           
 
Method Summary
 java.sql.PreparedStatement createPreparedStatement(java.sql.Connection conn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaxRowsStatementCreator

public MaxRowsStatementCreator(java.lang.String sql,
                               int maxRows)
Method Detail

createPreparedStatement

public java.sql.PreparedStatement createPreparedStatement(java.sql.Connection conn)
                                                   throws java.sql.SQLException
Specified by:
createPreparedStatement in interface org.springframework.jdbc.core.PreparedStatementCreator
Throws:
java.sql.SQLException


Copyright © 2007-2008. All Rights Reserved.