@Repository(value="anyline.SQLAdapterUtil") public class SQLAdapterUtil extends Object
| 构造器和说明 |
|---|
SQLAdapterUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static JDBCAdapter |
getAdapter(String datasource,
org.springframework.jdbc.core.JdbcTemplate template)
定准适配器
|
void |
setAdapters(Map<String,JDBCAdapter> map) |
static boolean |
support(DatabaseType type) |
@Autowired(required=false) public void setAdapters(Map<String,JDBCAdapter> map)
public static boolean support(DatabaseType type)
public static JDBCAdapter getAdapter(String datasource, org.springframework.jdbc.core.JdbcTemplate template)
datasource - 数据源名称(配置文件中的key)template - JdbcTemplateCopyright © 2023. All rights reserved.