Add cause exception when database type cannot be determined
This commit is contained in:
@@ -139,7 +139,7 @@ public class SqlPagingQueryProviderFactoryBean implements FactoryBean {
|
||||
}
|
||||
catch (MetaDataAccessException e) {
|
||||
throw new IllegalArgumentException(
|
||||
"Could not inspect meta data for database type. You have to supply it explicitly.");
|
||||
"Could not inspect meta data for database type. You have to supply it explicitly.", e);
|
||||
}
|
||||
|
||||
AbstractSqlPagingQueryProvider provider = providers.get(type);
|
||||
|
||||
Reference in New Issue
Block a user