public String getLastSQLStatement ( int iType ) { switch ( iType ) { case DBConstants . SQL_UPDATE_TYPE : case DBConstants . SQL_INSERT_TABLE_TYPE : case DBConstants . SQL_DELETE_TYPE : return m_strLastSQL ; case DBConstants . SQL_AUTOSEQUENCE_TYPE : case DBConstants . SQL_SEEK_TYPE : if ( ! SHARE_STATEMENTS ) return m_strStmtLastSeekSQL ; case DBConstants . SQL_SELECT_TYPE : case DBConstants . SQL_CREATE_TYPE : default : return m_strStmtLastSQL ; } }
Get the last SQL string for this statement type