File tree 1 file changed +8
-1
lines changed
spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2017 the original author or authors.
2
+ * Copyright 2002-2018 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
38
38
* This class can be extended to provide database specific behavior.
39
39
*
40
40
* @author Thomas Risberg
41
+ * @author Juergen Hoeller
41
42
* @since 2.5
42
43
*/
43
44
public class GenericCallMetaDataProvider implements CallMetaDataProvider {
@@ -351,6 +352,12 @@ else if (found.isEmpty()) {
351
352
"' - package name should be specified separately using '.withCatalogName(\" " +
352
353
packageName + "\" )'" );
353
354
}
355
+ else if ("Oracle" .equals (databaseMetaData .getDatabaseProductName ())) {
356
+ if (logger .isDebugEnabled ()) {
357
+ logger .debug ("Oracle JDBC driver did not return procedure/function/signature for '" +
358
+ metaDataProcedureName + "' - assuming a non-exposed synonym" );
359
+ }
360
+ }
354
361
else {
355
362
throw new InvalidDataAccessApiUsageException (
356
363
"Unable to determine the correct call signature - no " +
You can’t perform that action at this time.
0 commit comments