HHH-7283 hibernate is not compilable on JDK7
This commit is contained in:
parent
016ce8649e
commit
01621d3bb5
|
@ -28,7 +28,9 @@ import java.sql.Driver;
|
|||
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 class DriverManagerRegistrationTest extends BaseUnitTestCase {
|
|||
public boolean jdbcCompliant() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public Logger getParentLogger()
|
||||
throws SQLFeatureNotSupportedException {
|
||||
throw new SQLFeatureNotSupportedException();
|
||||
}
|
||||
}
|
||||
|
||||
public static class TestDriver1 extends AbstractTestJdbcDriver {
|
||||
|
|
Loading…
Reference in New Issue