Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescriptionSince 2.5, use
PreparedStatementsFactoryinstead. This interface relies on recovering the connection from the statement viaStatement.getConnection(), which is not portable across JDBC pool implementations. SeeDataSourceResourceLoaderfor the supported configuration.
-
Deprecated ClassesClassDescriptionimpractical useimpractical useimpractical useSince 2.5, use
DefaultPreparedStatementsFactoryvia thePreparedStatementsFactorySPI.it will disappear along with deprecated key names in 3.0.
-
Deprecated FieldsFieldDescriptionsince 2.5, with
RuntimeConstants.PARSER_CLASS: the next major version replaces the runtime parser properties by a pluggable lexer, and names another default.UseRuntimeConstants.DS_RESOURCE_LOADER_DATASOURCE_URLinstead.if/how errors are displayed is not the concern of the engine, which should throw in all casesif/how errors are displayed is not the concern of the engine, which should throw in all casessince 2.5: ranges will always be immutable in the next major versionsince 2.5: the next major version replaces the runtime parser properties by a pluggable lexer; this key has no effect there.usecontext.scope_control.<scope_name> = true/falsesince 2.5, without replacement: the next major version does not provide this compatibility mode; a null argument renders the parameter's own literal and a missing argument is null, as since 2.0.since 2.1
-
Deprecated MethodsMethodDescriptionthe 'encoding' parameter is useless, it should have been set in the database. Use
DataSourceResourceLoader.getReader(ResultSet, String)since 2.5: the next major version has no pluggable parser to hand out.since 2.5: the next major version has no pluggable parser to hand out.UseVelocityEngineUtils.mergeTemplate(VelocityEngine, String, String, Map, Writer)instead, following Velocity 1.6's corresponding deprecation in its own API.UseVelocityEngineUtils.mergeTemplateIntoString(VelocityEngine, String, String, Map)instead, following Velocity 1.6's corresponding deprecation in its own API.logger is now set by default to the namespace logger "velocity.rendering".