Class ProviderSqlSource
- java.lang.Object
-
- org.apache.ibatis.builder.annotation.ProviderSqlSource
-
-
Constructor Summary
Constructors Constructor Description ProviderSqlSource(Configuration configuration, Annotation provider, Class<?> mapperType, Method mapperMethod)
Instantiates a new provider sql source.ProviderSqlSource(Configuration configuration, Object provider)
Deprecated.Since 3.5.3, Please use theProviderSqlSource(Configuration, Annotation, Class, Method)
instead of this.ProviderSqlSource(Configuration configuration, Object provider, Class<?> mapperType, Method mapperMethod)
Deprecated.Since 3.5.3, Please use theProviderSqlSource(Configuration, Annotation, Class, Method)
instead of this.
-
-
-
Constructor Detail
-
ProviderSqlSource
@Deprecated public ProviderSqlSource(Configuration configuration, Object provider)
Deprecated.Since 3.5.3, Please use theProviderSqlSource(Configuration, Annotation, Class, Method)
instead of this.This constructor will remove at a future version.- Parameters:
configuration
- the configurationprovider
- the provider
-
ProviderSqlSource
@Deprecated public ProviderSqlSource(Configuration configuration, Object provider, Class<?> mapperType, Method mapperMethod)
Deprecated.Since 3.5.3, Please use theProviderSqlSource(Configuration, Annotation, Class, Method)
instead of this.This constructor will remove at a future version.- Parameters:
configuration
- the configurationprovider
- the providermapperType
- the mapper typemapperMethod
- the mapper method- Since:
- 3.4.5
-
ProviderSqlSource
public ProviderSqlSource(Configuration configuration, Annotation provider, Class<?> mapperType, Method mapperMethod)
Instantiates a new provider sql source.- Parameters:
configuration
- the configurationprovider
- the providermapperType
- the mapper typemapperMethod
- the mapper method- Since:
- 3.5.3
-
-
Method Detail
-
getBoundSql
public BoundSql getBoundSql(Object parameterObject)
- Specified by:
getBoundSql
in interfaceSqlSource
-
-