Remove code obsolete in 4.x

Description

A bunch of old Obsolete code should be removed.

Environment

None

Activity

Show:
Frédéric Delaporte
August 31, 2017, 3:05 PM
Edited

Removed:

  • NHibernate.AdoNet.Util.SqlStatementLogger.GetParameterLogableValue => use GetParameterLoggableValue (added g) instead.

  • NHibernate.Engine.ISessionImplementor/NHibernate/Impl/AbstractSessionImpl obsolete methods => use version taking IQueryExpression instead of string:

    • Enumerable(string, QueryParameters)

    • Enumerable<T>(string, QueryParameters)

    • ExecuteUpdate(string, QueryParameters)

    • GetQueries(string, bool)

    • List(string, QueryParameters)

    • List(string, QueryParameters, IList)

    • List<T>(string, QueryParameters)

  • NHibernate.Engine.Query.QueryPlanCache.GetHQLQueryPlan(string, bool, IDictionary<string, IFilter>) => use version taking IQueryExpression instead of string.

  • NHibernate.Hql.Ast.ANTLR.ASTQueryTranslatorFactory/NHibernate.Hql.IQueryTranslatorFactory.CreateQueryTranslators(string, string, bool, IDictionary<string, IFilter>, ISessionFactoryImplementor) => use version taking IQueryExpression instead of string.

  • NHibernate.SqlCommand.SqlString.Compact() => no-op, just use instance directly.

Assignee

Frédéric Delaporte

Reporter

Frédéric Delaporte

Components

Fix versions

Affects versions

Priority

Trivial
Configure