diff --git a/querydsl-core/src/main/java/com/mysema/util/ResultSetAdapter.java b/querydsl-core/src/main/java/com/mysema/util/ResultSetAdapter.java index 7ecb78958..81fd2e5c3 100644 --- a/querydsl-core/src/main/java/com/mysema/util/ResultSetAdapter.java +++ b/querydsl-core/src/main/java/com/mysema/util/ResultSetAdapter.java @@ -91,6 +91,7 @@ public class ResultSetAdapter implements ResultSet{ return rs.getAsciiStream(columnLabel); } + @SuppressWarnings("deprecation") public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException { return rs.getBigDecimal(columnIndex, scale); } @@ -99,6 +100,7 @@ public class ResultSetAdapter implements ResultSet{ return rs.getBigDecimal(columnIndex); } + @SuppressWarnings("deprecation") public BigDecimal getBigDecimal(String columnLabel, int scale) throws SQLException { return rs.getBigDecimal(columnLabel, scale); } @@ -363,10 +365,12 @@ public class ResultSetAdapter implements ResultSet{ return rs.getType(); } + @SuppressWarnings("deprecation") public InputStream getUnicodeStream(int columnIndex) throws SQLException { return rs.getUnicodeStream(columnIndex); } + @SuppressWarnings("deprecation") public InputStream getUnicodeStream(String columnLabel) throws SQLException { return rs.getUnicodeStream(columnLabel); }