Add cause exception when database type cannot be determined

This commit is contained in:
dsyer
2009-05-11 00:07:59 +00:00
parent a43a4ec623
commit 0bd6a8fc17

View File

@@ -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);