diff options
author | Fabian Köster <koesterreich@fastmail.fm> | 2012-10-27 10:43:08 +0200 |
---|---|---|
committer | Fabian Köster <koesterreich@fastmail.fm> | 2012-10-27 10:43:08 +0200 |
commit | dd83a8774c3ff6d488e78dc450c4a323fb4bb776 (patch) | |
tree | 0fa62a20c45e957bf21874f6f9b4af419eba2936 /dev-java/willuhn-datasource/files | |
download | hibiscus-dd83a8774c3ff6d488e78dc450c4a323fb4bb776.tar.gz hibiscus-dd83a8774c3ff6d488e78dc450c4a323fb4bb776.tar.bz2 hibiscus-dd83a8774c3ff6d488e78dc450c4a323fb4bb776.zip |
Initial commit
Diffstat (limited to 'dev-java/willuhn-datasource/files')
-rw-r--r-- | dev-java/willuhn-datasource/files/2.2-java7-api.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-java/willuhn-datasource/files/2.2-java7-api.patch b/dev-java/willuhn-datasource/files/2.2-java7-api.patch new file mode 100644 index 0000000..2823482 --- /dev/null +++ b/dev-java/willuhn-datasource/files/2.2-java7-api.patch @@ -0,0 +1,33 @@ +Index: work/src/de/willuhn/datasource/db/MyDriver.java +=================================================================== +--- work.orig/src/de/willuhn/datasource/db/MyDriver.java ++++ work/src/de/willuhn/datasource/db/MyDriver.java +@@ -16,7 +16,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; + + /** + * Hilfsklasse da java.sql.DriverManager nur Driver akzeptiert, +@@ -94,6 +96,11 @@ public class MyDriver implements Driver + return driver.getPropertyInfo(url,info); + } + ++ public Logger getParentLogger() throws SQLFeatureNotSupportedException ++ { ++ throw new SQLFeatureNotSupportedException(); ++ } ++ + } + + +@@ -105,4 +112,4 @@ public class MyDriver implements Driver + * Revision 1.1 2004/12/07 01:27:58 willuhn + * @N Dummy Driver + * +- **********************************************************************/ +\ No newline at end of file ++ **********************************************************************/ |