hi
create a patch for added some missing java7 method
--- test/au/com/bytecode/opencsv/MockResultSet.java 2011-04-15 06:00:33.000000000 +0200
+++ test/au/com/bytecode/opencsv/MockResultSet.java-gil 2013-10-16 15:52:49.322505042 +0200
@@ -764,4 +764,69 @@
public boolean isWrapperFor(Class<?> aClass) throws SQLException {
return false; //To change body of implemented methods use File | Settings | File Templates.
}
+
+ public boolean isCloseOnCompletion() throws SQLException {
+ return false; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public void closeOnCompletion() throws SQLException {
+ //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public <T> T getObject(String columnLabel, Class<T> arg0) throws SQLException {
+ return null; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public <T> T getObject(int columnIndex, Class<T> arg0) throws SQLException {
+ return null; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException {
+ //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException {
+ //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public SQLXML getSQLXML(String columnLabel) throws SQLException {
+ return null; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public SQLXML getSQLXML(int columnIndex) throws SQLException {
+ return null; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public NClob getNClob(String columnLabel) throws SQLException {
+ return null; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public NClob getNClob(int columnIndex) throws SQLException {
+ return null; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public void updateRowId(String columnLabel, RowId x) throws SQLException {
+ //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public void updateRowId(int columnIndex, RowId x) throws SQLException {
+ //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public RowId getRowId(String columnLabel) throws SQLException {
+ return null; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public RowId getRowId(int columnIndex) throws SQLException {
+ return null; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public void updateNClob(String columnLabel, NClob nClob) throws SQLException {
+ //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public void updateNClob(int columnIndex, NClob nClob) throws SQLException {
+ //To change body of implemented methods use File | Settings | File Templates.
+ }
+
}
regards
Changed code to use MockResultSetBuilder and removed MockResultSet. This way should work with any version of Java.