public override void select(string statement, object parameter, RowBounds rowBounds, ResultHandler handler) { long start = DateTimeHelper.CurrentUnixTimeMillis(); base.select(statement, parameter, rowBounds, handler); long duration = DateTimeHelper.CurrentUnixTimeMillis() - start; logStatement(SqlStatementType.SELECT, parameter, statement, duration); }
public override IList <E> selectList <E>(string statement, object parameter, RowBounds rowBounds) { long start = DateTimeHelper.CurrentUnixTimeMillis(); IList <E> result = base.selectList(statement, parameter, rowBounds); long duration = DateTimeHelper.CurrentUnixTimeMillis() - start; logStatement(SqlStatementType.SELECT_LIST, parameter, statement, duration); return(result); }
public override Cursor <T> selectCursor <T>(string s, object o, RowBounds rowBounds) { return(wrappedSession.selectCursor(s, o, rowBounds)); }
public virtual IDictionary <K, V> selectMap <K, V>(string statement, object parameter, string mapKey, RowBounds rowBounds) { return(wrappedSession.selectMap(statement, parameter, mapKey, rowBounds)); }
public virtual IList <E> selectList <E>(string statement, object parameter, RowBounds rowBounds) { return(wrappedSession.selectList(statement, parameter, rowBounds)); }
public virtual void select(string statement, object parameter, RowBounds rowBounds, ResultHandler handler) { wrappedSession.select(statement, parameter, rowBounds, handler); }
public override IDictionary <K, V> selectMap <K, V>(string statement, object parameter, string mapKey, RowBounds rowBounds) { long start = DateTimeHelper.CurrentUnixTimeMillis(); IDictionary <K, V> result = base.selectMap(statement, parameter, mapKey, rowBounds); long duration = DateTimeHelper.CurrentUnixTimeMillis() - start; logStatement(SqlStatementType.SELECT_MAP, parameter, statement, duration); return(result); }