Changeset: 36f55bb8dd57 for monetdb-java
URL: https://dev.monetdb.org/hg/monetdb-java?cmd=changeset;node=36f55bb8dd57
Modified Files:
        ChangeLog
        release.txt
        src/main/java/nl/cwi/monetdb/jdbc/MonetPreparedStatement.java
Branch: default
Log Message:

Implemented PreparedStatement method setNString().


diffs (42 lines):

diff --git a/ChangeLog b/ChangeLog
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,12 +2,13 @@
 # This file is updated with Maddlog
 
 * Thu Aug 24 2017 Martin van Dinther <[email protected]>
+- Implemented PreparedStatement method setNString().
 - The MonetDB JDBC driver code and jdbcclient program are now compiled
   without debug info and with optimise flag enabled.  The new jar files are
   now smaller in size.
 
 * Thu Aug 17 2017 Martin van Dinther <[email protected]>
-- Implemented ResultSet method getNCharacterStream()
+- Implemented ResultSet method getNCharacterStream().
 - In class MonetClob implemented methods getCharacterStream()
   and getCharacterStream(long pos, long length).  Method
   getCharacterStream() is called by DBeaver to fetch the Clob value.
diff --git a/release.txt b/release.txt
--- a/release.txt
+++ b/release.txt
@@ -55,7 +55,7 @@ Currently implemented JDBC 4.1 interface
     - setArray
     - setAsciiStream, setBinaryStream, setUnicodeStream
     - setBlob
-    - setNCharacterStream, setNClob, setNString
+    - setNCharacterStream, setNClob
     - setRef, setRowId, setSQLXML, setURL
 
   * java.sql.ParameterMetaData
diff --git a/src/main/java/nl/cwi/monetdb/jdbc/MonetPreparedStatement.java 
b/src/main/java/nl/cwi/monetdb/jdbc/MonetPreparedStatement.java
--- a/src/main/java/nl/cwi/monetdb/jdbc/MonetPreparedStatement.java
+++ b/src/main/java/nl/cwi/monetdb/jdbc/MonetPreparedStatement.java
@@ -1625,7 +1625,7 @@ public class MonetPreparedStatement
         */
        @Override
        public void setNString(int parameterIndex, String value) throws 
SQLException {
-               throw newSQLFeatureNotSupportedException("setNString");
+               setString(parameterIndex, value);
        }
 
        /**
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to