public class DefaultTableMetaDataProvider extends Object implements TableMetaDataProvider
Constructor and Description |
---|
DefaultTableMetaDataProvider() |
Modifier and Type | Method and Description |
---|---|
TableMetaData |
generatedKeyNamesWithMetaData(DataSource dataSource,
String catalogName,
String schemaName,
String tableName) |
String |
getDbType(DataSource dataSource)
获取数据库类型
|
public TableMetaData generatedKeyNamesWithMetaData(DataSource dataSource, String catalogName, String schemaName, String tableName)
generatedKeyNamesWithMetaData
in interface TableMetaDataProvider
dataSource
- 数据源对象catalogName
- 分类名schemaName
- schema名tableName
- 表名public String getDbType(DataSource dataSource)
TableMetaDataProvider
getDbType
in interface TableMetaDataProvider
dataSource
- 数据源对象Copyright © 2006–2018 TinyGroup. All rights reserved.