Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Vosburgh2015-07-16 22:00:42 +0000
committerBrian Vosburgh2015-07-16 22:00:42 +0000
commit5d1bfc2b055d163773327960983a2c2f06560f2c (patch)
tree0ca6917098a27caa66badcd68b8b2676af339fbd
parent3042b560ea3ed87535f7fce87ccbc8bf0786926d (diff)
downloadwebtools.dali-5d1bfc2b055d163773327960983a2c2f06560f2c.tar.gz
webtools.dali-5d1bfc2b055d163773327960983a2c2f06560f2c.tar.xz
webtools.dali-5d1bfc2b055d163773327960983a2c2f06560f2c.zip
add JDBC 4.1 method to DriverWrapper
-rw-r--r--common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/jdbc/DriverWrapper.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/jdbc/DriverWrapper.java b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/jdbc/DriverWrapper.java
index f63839a88b..a66a1ef4ac 100644
--- a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/jdbc/DriverWrapper.java
+++ b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/jdbc/DriverWrapper.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2005, 2012 Oracle. All rights reserved.
+ * Copyright (c) 2005, 2015 Oracle. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0, which accompanies this distribution
* and is available at http://www.eclipse.org/legal/epl-v10.html.
@@ -13,7 +13,9 @@ import java.sql.Connection;
import java.sql.Driver;
import java.sql.DriverPropertyInfo;
import java.sql.SQLException;
+import java.sql.SQLFeatureNotSupportedException;
import java.util.Properties;
+import java.util.logging.Logger;
import org.eclipse.jpt.common.utility.internal.ObjectTools;
/**
@@ -91,6 +93,11 @@ public class DriverWrapper
return this.driver.jdbcCompliant();
}
+ // JDBC 4.1
+ public Logger getParentLogger() throws SQLFeatureNotSupportedException {
+ return this.driver.getParentLogger();
+ }
+
@Override
public String toString() {
return ObjectTools.toString(this, this.driver);

Back to the top