db.setQueryLimit( 0 ); try { if ( scm.getTransMeta().isUsingUniqueConnections() ) {
public void run( IProgressMonitor monitor ) throws InvocationTargetException, InterruptedException { db = new Database( Spoon.loggingObject, dbMeta ); try { db.connect(); if ( limit > 0 ) { db.setQueryLimit( limit ); } rows = db.getFirstRows( tableName, limit, new ProgressMonitorAdapter( monitor ) ); rowMeta = db.getReturnRowMeta(); } catch ( KettleException e ) { throw new InvocationTargetException( e, "Couldn't find any rows because of an error :" + e.toString() ); } finally { db.disconnect(); } } };
db.setQueryLimit( 0 ); try { if ( scm.getTransMeta().isUsingUniqueConnections() ) {
break; database.setQueryLimit( queryLimit );
break; database.setQueryLimit( queryLimit );
data.db.setQueryLimit( meta.getRowLimit() );
data.db.shareVariablesWith( this ); data.db.setQueryLimit( Const.toInt( environmentSubstitute( meta.getRowLimit() ), 0 ) );
logDebug( BaseMessages.getString( PKG, "DatabaseJoin.Log.SQLStatement", sql ) ); data.db.setQueryLimit( meta.getRowLimit() );