5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-10 01:51:00 +08:00

SQOOP-706 Sqoop won't compile on Java 7 due to new methods in ResultSet

interface

(Jarek Jarcec Cecho via Cheolsoo Park)
This commit is contained in:
Cheolsoo Park 2012-11-28 13:11:51 -08:00
parent 817195ebb0
commit b666fe1bb6

View File

@ -884,6 +884,22 @@ public void updateNClob(String columnLabel, Reader reader)
throws SQLException {
}
/* Commenting @override as this is addition in java 7 that is not available
* in Java 6
@Override
*/
public <T> T getObject(int columnIndex, Class<T> type) throws SQLException {
return null;
}
/* Commenting @override as this is addition in java 7 that is not available
* in Java 6
@Override
*/
public <T> T getObject(String columnLabel, Class<T> type) throws SQLException{
return null;
}
@Override
public void updateNClob(int columnIndex, Reader reader, long length)
throws SQLException {