Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

HHH-7283 hibernate is not compilable on JDK7

  • Loading branch information...
commit 01621d3bb565464e7eb037d2ca90450fa4b77bce 1 parent 016ce86
@stliu stliu authored
View
7 hibernate-core/src/test/java/org/hibernate/connection/DriverManagerRegistrationTest.java
@@ -28,7 +28,9 @@
import java.sql.DriverManager;
import java.sql.DriverPropertyInfo;
import java.sql.SQLException;
+import java.sql.SQLFeatureNotSupportedException;
import java.util.Properties;
+import java.util.logging.Logger;
import org.junit.AfterClass;
import org.junit.Test;
@@ -146,6 +148,11 @@ public int getMinorVersion() {
public boolean jdbcCompliant() {
return false;
}
+
+ public Logger getParentLogger()
+ throws SQLFeatureNotSupportedException {
+ throw new SQLFeatureNotSupportedException();
+ }
}
public static class TestDriver1 extends AbstractTestJdbcDriver {
Please sign in to comment.
Something went wrong with that request. Please try again.