velocity/0004-JDBC-41-compat.patch
Mikolaj Izdebski 34fb8566e6 Revert "Update to upstream version 2.1"
This reverts commit 982f6ca327.
This reverts commit fcf964c067.
This reverts commit d5b08e3229.
This reverts commit 181e17359c.
This reverts commit 400fd08b90.
2019-06-10 08:20:58 +02:00

20 lines
719 B
Diff

--- a/src/test/org/apache/velocity/test/sql/HsqlDataSource.java 2012-02-15 19:49:20.202936454 -0500
+++ b/src/test/org/apache/velocity/test/sql/HsqlDataSource.java 2012-02-15 19:52:35.062574871 -0500
@@ -23,6 +23,7 @@
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
+import java.sql.SQLFeatureNotSupportedException;
import javax.sql.DataSource;
@@ -73,5 +74,8 @@
public Object unwrap(final Class iface) throws SQLException {
throw new SQLException("Not implemented");
}
+ public java.util.logging.Logger getParentLogger() throws SQLFeatureNotSupportedException {
+ throw new SQLFeatureNotSupportedException("getParentLogger() not supported");
+ }
}