Class ProviderSqlSource
java.lang.Object
org.apache.ibatis.builder.annotation.ProviderSqlSource
- All Implemented Interfaces:
SqlSource
- Author:
- Clinton Begin, Kazuki Shimizu
-
Constructor Summary
ConstructorsConstructorDescriptionProviderSqlSource(Configuration configuration, Annotation provider, Class<?> mapperType, Method mapperMethod) Instantiates a new provider sql source.ProviderSqlSource(Configuration configuration, Object provider) Deprecated.ProviderSqlSource(Configuration configuration, Object provider, Class<?> mapperType, Method mapperMethod) Deprecated.Since 3.5.3, Please use theProviderSqlSource(Configuration, Annotation, Class, Method)instead of this. -
Method Summary
-
Constructor Details
-
ProviderSqlSource
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 Details
-
getBoundSql
- Specified by:
getBoundSqlin interfaceSqlSource
-
ProviderSqlSource(Configuration, Annotation, Class, Method)instead of this.