Polishing
This commit is contained in:
parent
934a995acb
commit
20287e0cb0
|
|
@ -60,12 +60,12 @@ public class CallMetaDataProviderFactory {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a CallMetaDataProvider based on the database metadata
|
* Create a {@link CallMetaDataProvider} based on the database metadata
|
||||||
* @param dataSource used to retrieve metadata
|
* @param dataSource used to retrieve metadata
|
||||||
* @param context the class that holds configuration and metadata
|
* @param context the class that holds configuration and metadata
|
||||||
* @return instance of the CallMetaDataProvider implementation to be used
|
* @return instance of the CallMetaDataProvider implementation to be used
|
||||||
*/
|
*/
|
||||||
static public CallMetaDataProvider createMetaDataProvider(DataSource dataSource, final CallMetaDataContext context) {
|
public static CallMetaDataProvider createMetaDataProvider(DataSource dataSource, final CallMetaDataContext context) {
|
||||||
try {
|
try {
|
||||||
return (CallMetaDataProvider) JdbcUtils.extractDatabaseMetaData(dataSource, databaseMetaData -> {
|
return (CallMetaDataProvider) JdbcUtils.extractDatabaseMetaData(dataSource, databaseMetaData -> {
|
||||||
String databaseProductName = JdbcUtils.commonDatabaseName(databaseMetaData.getDatabaseProductName());
|
String databaseProductName = JdbcUtils.commonDatabaseName(databaseMetaData.getDatabaseProductName());
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ public class TableMetaDataProviderFactory {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a TableMetaDataProvider based on the database metadata.
|
* Create a {@link TableMetaDataProvider} based on the database metadata.
|
||||||
* @param dataSource used to retrieve metadata
|
* @param dataSource used to retrieve metadata
|
||||||
* @param context the class that holds configuration and metadata
|
* @param context the class that holds configuration and metadata
|
||||||
* @return instance of the TableMetaDataProvider implementation to be used
|
* @return instance of the TableMetaDataProvider implementation to be used
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue