Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

HHH-7283 hibernate is not compilable on JDK7

  • Loading branch information...
commit 01621d3bb565464e7eb037d2ca90450fa4b77bce 1 parent 016ce86
Strong Liu authored April 27, 2012
7  hibernate-core/src/test/java/org/hibernate/connection/DriverManagerRegistrationTest.java
@@ -28,7 +28,9 @@
28 28
 import java.sql.DriverManager;
29 29
 import java.sql.DriverPropertyInfo;
30 30
 import java.sql.SQLException;
  31
+import java.sql.SQLFeatureNotSupportedException;
31 32
 import java.util.Properties;
  33
+import java.util.logging.Logger;
32 34
 
33 35
 import org.junit.AfterClass;
34 36
 import org.junit.Test;
@@ -146,6 +148,11 @@ public int getMinorVersion() {
146 148
 		public boolean jdbcCompliant() {
147 149
 			return false;
148 150
 		}
  151
+
  152
+		public Logger getParentLogger()
  153
+				throws SQLFeatureNotSupportedException {
  154
+			throw new SQLFeatureNotSupportedException();
  155
+		}
149 156
 	}
150 157
 
151 158
 	public static class TestDriver1 extends AbstractTestJdbcDriver {

0 notes on commit 01621d3

Please sign in to comment.
Something went wrong with that request. Please try again.