Index: jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveCallableStatement.java =================================================================== --- jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveCallableStatement.java (revision 1366269) +++ jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveCallableStatement.java (working copy) @@ -2440,4 +2440,24 @@ throw new SQLException("Method not supported"); } + public void closeOnCompletion() throws SQLException { + // TODO Auto-generated method stub + + } + + public boolean isCloseOnCompletion() throws SQLException { + // TODO Auto-generated method stub + return false; + } + + public T getObject(int parameterIndex, Class type) throws SQLException { + // TODO Auto-generated method stub + return null; + } + + public T getObject(String parameterName, Class type) throws SQLException { + // TODO Auto-generated method stub + return null; + } + } Index: jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveStatement.java =================================================================== --- jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveStatement.java (revision 1366269) +++ jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveStatement.java (working copy) @@ -513,4 +513,14 @@ throw new SQLException("Method not supported"); } + public void closeOnCompletion() throws SQLException { + // TODO Auto-generated method stub + + } + + public boolean isCloseOnCompletion() throws SQLException { + // TODO Auto-generated method stub + return false; + } + } Index: jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveDatabaseMetaData.java =================================================================== --- jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveDatabaseMetaData.java (revision 1366269) +++ jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveDatabaseMetaData.java (working copy) @@ -124,6 +124,16 @@ return false; } } + + public T getObject(int columnIndex, Class type) throws SQLException { + // TODO Auto-generated method stub + return null; + } + + public T getObject(String columnLabel, Class type) throws SQLException { + // TODO Auto-generated method stub + return null; + } }; } catch (Exception e) { throw new SQLException(e); @@ -256,6 +266,16 @@ return false; } } + + public T getObject(int columnIndex, Class type) throws SQLException { + // TODO Auto-generated method stub + return null; + } + + public T getObject(String columnLabel, Class type) throws SQLException { + // TODO Auto-generated method stub + return null; + } }; } catch (Exception e) { throw new SQLException(e); @@ -514,6 +534,16 @@ public boolean next() throws SQLException { return false; } + + public T getObject(int columnIndex, Class type) throws SQLException { + // TODO Auto-generated method stub + return null; + } + + public T getObject(String columnLabel, Class type) throws SQLException { + // TODO Auto-generated method stub + return null; + } }; } @@ -563,6 +593,16 @@ return false; } } + + public T getObject(int columnIndex, Class type) throws SQLException { + // TODO Auto-generated method stub + return null; + } + + public T getObject(String columnLabel, Class type) throws SQLException { + // TODO Auto-generated method stub + return null; + } }; return result; } @@ -630,6 +670,16 @@ } } + public T getObject(int columnIndex, Class type) throws SQLException { + // TODO Auto-generated method stub + return null; + } + + public T getObject(String columnLabel, Class type) throws SQLException { + // TODO Auto-generated method stub + return null; + } + }; return result; } @@ -689,6 +739,16 @@ public boolean next() throws SQLException { return false; } + + public T getObject(int columnIndex, Class type) throws SQLException { + // TODO Auto-generated method stub + return null; + } + + public T getObject(String columnLabel, Class type) throws SQLException { + // TODO Auto-generated method stub + return null; + } }; } @@ -1086,4 +1146,17 @@ System.out.println("DriverName: " + meta.getDriverName()); System.out.println("DriverVersion: " + meta.getDriverVersion()); } + + @Override + public boolean generatedKeyAlwaysReturned() throws SQLException { + // TODO Auto-generated method stub + return false; + } + + @Override + public ResultSet getPseudoColumns(String catalog, String schemaPattern, String tableNamePattern, + String columnNamePattern) throws SQLException { + // TODO Auto-generated method stub + return null; + } } Index: jdbc/src/java/org/apache/hadoop/hive/jdbc/HivePreparedStatement.java =================================================================== --- jdbc/src/java/org/apache/hadoop/hive/jdbc/HivePreparedStatement.java (revision 1366269) +++ jdbc/src/java/org/apache/hadoop/hive/jdbc/HivePreparedStatement.java (working copy) @@ -1263,4 +1262,14 @@ throw new SQLException("Method not supported"); } + public void closeOnCompletion() throws SQLException { + // TODO Auto-generated method stub + + } + + public boolean isCloseOnCompletion() throws SQLException { + // TODO Auto-generated method stub + return false; + } + } Index: jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveDataSource.java =================================================================== --- jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveDataSource.java (revision 1366269) +++ jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveDataSource.java (working copy) @@ -21,6 +21,8 @@ import java.io.PrintWriter; import java.sql.Connection; import java.sql.SQLException; +import java.sql.SQLFeatureNotSupportedException; +import java.util.logging.Logger; import javax.sql.DataSource; @@ -128,4 +130,9 @@ throw new SQLException("Method not supported"); } + public Logger getParentLogger() throws SQLFeatureNotSupportedException { + // TODO Auto-generated method stub + return null; + } + } Index: jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveDriver.java =================================================================== --- jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveDriver.java (revision 1366269) +++ jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveDriver.java (working copy) @@ -24,9 +24,11 @@ import java.sql.Driver; import java.sql.DriverPropertyInfo; import java.sql.SQLException; +import java.sql.SQLFeatureNotSupportedException; import java.util.Properties; import java.util.jar.Attributes; import java.util.jar.Manifest; +import java.util.logging.Logger; import java.util.regex.Pattern; /** @@ -294,4 +296,9 @@ } return manifestAttributes.getValue(attributeName); } + + public Logger getParentLogger() throws SQLFeatureNotSupportedException { + // TODO Auto-generated method stub + return null; + } } Index: jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveConnection.java =================================================================== --- jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveConnection.java (revision 1366269) +++ jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveConnection.java (working copy) @@ -29,6 +29,7 @@ import org.apache.thrift.transport.TSocket; import org.apache.thrift.transport.TTransport; import org.apache.thrift.transport.TTransportException; +import java.util.concurrent.Executor; import java.sql.Array; import java.sql.Blob; @@ -684,4 +685,29 @@ throw new SQLException("Method not supported"); } + public void abort(Executor executor) throws SQLException { + // TODO Auto-generated method stub + + } + + public int getNetworkTimeout() throws SQLException { + // TODO Auto-generated method stub + return 0; + } + + public String getSchema() throws SQLException { + // TODO Auto-generated method stub + return null; + } + + public void setNetworkTimeout(Executor executor, int milliseconds) throws SQLException { + // TODO Auto-generated method stub + + } + + public void setSchema(String schema) throws SQLException { + // TODO Auto-generated method stub + + } + } Index: jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveQueryResultSet.java =================================================================== --- jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveQueryResultSet.java (revision 1366269) +++ jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveQueryResultSet.java (working copy) @@ -207,4 +207,14 @@ return obj; } + + public T getObject(int columnIndex, Class type) throws SQLException { + // TODO Auto-generated method stub + return null; + } + + public T getObject(String columnLabel, Class type) throws SQLException { + // TODO Auto-generated method stub + return null; + } } Index: metastore/build.xml =================================================================== --- metastore/build.xml (revision 1366269) +++ metastore/build.xml (working copy) @@ -103,7 +103,7 @@ - +