Changeset: ff075ed5ce81 for monetdb-java
URL: https://dev.monetdb.org/hg/monetdb-java/rev/ff075ed5ce81
Modified Files:
        ChangeLog-Archive
        SQLSTATEs
        example/SQLImport.java
        src/main/java/org/monetdb/client/JdbcClient.java
        src/main/java/org/monetdb/jdbc/MonetBlob.java
        src/main/java/org/monetdb/jdbc/MonetClob.java
        src/main/java/org/monetdb/jdbc/MonetConnection.java
        src/main/java/org/monetdb/jdbc/MonetDatabaseMetaData.java
        src/main/java/org/monetdb/jdbc/MonetPreparedStatement.java
        src/main/java/org/monetdb/jdbc/MonetResultSet.java
        src/main/java/org/monetdb/jdbc/MonetResultSetMetaData.java
        src/main/java/org/monetdb/jdbc/MonetStatement.java
        src/main/java/org/monetdb/mcl/net/MapiSocket.java
        src/main/java/org/monetdb/mcl/parser/MCLParser.java
        src/main/java/org/monetdb/mcl/parser/StartOfHeaderParser.java
        src/main/java/org/monetdb/merovingian/Control.java
        src/main/java/org/monetdb/util/Exporter.java
        tests/JDBC_API_Tester.java
        tests/OnClientTester.java
        tests/TLSTester.java
Branch: default
Log Message:

Spell check.


diffs (truncated from 552 to 300 lines):

diff --git a/ChangeLog-Archive b/ChangeLog-Archive
--- a/ChangeLog-Archive
+++ b/ChangeLog-Archive
@@ -126,7 +126,7 @@
   We also provide a utility class:
     public class org.monetdb.util.FileTransferHandler
   which provides an example implementation of the MonetConnection.UploadHandler
-  and MonetConnection.DownloadHandler interfaces useable for reading files
+  and MonetConnection.DownloadHandler interfaces usable for reading files
   from or writing files to a local file system.
 
 * Mon Jun 14 2021 Martin van Dinther <martin.van.dint...@monetdbsolutions.com>
@@ -140,7 +140,7 @@
   each column of the ResultSet. Now these metadata queries are combined
   into one query fetching this meta data for up to 50 columns in one query.
   This reduces the number of queries sent to the server significantly.
-  This is noticable for instance when using generic JDBC query tools
+  This is noticeable for instance when using generic JDBC query tools
   such as SQuirreL, DBeaver, which now respond much faster.
 
 * Wed Mar  3 2021 Martin van Dinther <martin.van.dint...@monetdbsolutions.com>
@@ -181,7 +181,7 @@
   functionality to validate the integrity of the system tables (\vsci) or
   to validate the integrity of data in tables of a specific schema (\vsi xyz)
   based on defined declarative constraints (pkey, fkey, not null, etc.).
-  This will be usefull to find and report inconsistencies in your database.
+  This will be useful to find and report inconsistencies in your database.
   This functionality is a beta release. Please let us know if you
   encounter any issues running it. See below for more information.
 
@@ -257,7 +257,7 @@
   - Column NOT NULL constraint
   - Varchar(n) max length constraint
   - Idem for char(n), clob(n), blob(n), json(n) and url(n).
-  It can be usefull to run \vsci before and after an upgrade of MonetDB server.
+  It can be useful to run \vsci before and after an upgrade of MonetDB server.
   Use \vsi my_schema  to validate data in all tables of a specific schema.
   Use \vdbi  to validate integrity of data in all user schemas in
   the database. Note: this can take a while, depending on your number
@@ -913,7 +913,7 @@
 
 * Tue Nov  9 2010 Fabian Groffen <fab...@cwi.nl> - 1.40.1-20101110
 - Fix SQL syntax of inserting BLOB code, using setBytes()
-- Added propery 'treat_blob_as_binary' to simulate BINARY types based on
+- Added property 'treat_blob_as_binary' to simulate BINARY types based on
   BLOBs for applications, (e.g. Hibernate-based) that rely on BINARY's
   byte array mapping
 - Added code to handle BINARY types
diff --git a/SQLSTATEs b/SQLSTATEs
--- a/SQLSTATEs
+++ b/SQLSTATEs
@@ -2,7 +2,7 @@ Following SQLStates are MonetDB JDBC dri
 01M02 redirect warning
 01M03 illegal arguments (invalid call of internal function)
 01M07 unrecognised clientinfo property
-01M08 read-only conection mode not supported
+01M08 read-only connection mode not supported
 01M09 transaction mode not supported
 01M10 unexpected server output
 01M11 server-client autocommit state mismatch
diff --git a/example/SQLImport.java b/example/SQLImport.java
--- a/example/SQLImport.java
+++ b/example/SQLImport.java
@@ -22,7 +22,7 @@ import java.io.*;
  * continues reading and executing lines.
  * A very lousy way of implementing options is used to somewhat configure the
  * behaviour of the program in order to be a bit more verbose or commit after
- * each (sucessfully) executed line.
+ * each (successfully) executed line.
  *
  * The program uses a debuglog in which the exact conversation between the
  * JDBC driver and Mserver is reported. The log file is put in the current
diff --git a/src/main/java/org/monetdb/client/JdbcClient.java 
b/src/main/java/org/monetdb/client/JdbcClient.java
--- a/src/main/java/org/monetdb/client/JdbcClient.java
+++ b/src/main/java/org/monetdb/client/JdbcClient.java
@@ -108,7 +108,7 @@ public final class JdbcClient {
         * -e --echo     Also outputs the contents of the input file, if any.
         * -q --quiet    Suppress printing the welcome header.
         * -D --dump     Dumps the given table(s), or the complete database if 
none given.
-        * --csvdir      The directory path where csv data files wil be read 
from or
+        * --csvdir      The directory path where csv data files will be read 
from or
         *               written to when COPY ... ON CLIENT commands are 
executed.
         * -Xoutput      The output mode when dumping.  Default is sql, xml may 
be used for
         *               an experimental XML output.
@@ -1072,7 +1072,7 @@ public final class JdbcClient {
         * @param query the query to execute
         * @param stmt the Statement to execute the query on
         * @param out the PrintWriter to write to
-        * @param showTiming flag to specify if timing information nees to be 
printed
+        * @param showTiming flag to specify if timing information needs to be 
printed
         * @throws SQLException if a database related error occurs
         */
        private static void executeQuery(final String query,
@@ -1155,7 +1155,7 @@ public final class JdbcClient {
                // if there were warnings for this connection show them!
                warn = con.getWarnings();
                while (warn != null) {
-                       // suppress warning when issueing a "set schema xyz;" 
command
+                       // suppress warning when issuing a "set schema xyz;" 
command
 //                     if ( !(warn.getMessage()).equals("Server enabled auto 
commit mode while local state already was auto commit.") )
                                System.err.println("Connection warning: " + 
warn.getMessage());
                        warn = warn.getNextWarning();
diff --git a/src/main/java/org/monetdb/jdbc/MonetBlob.java 
b/src/main/java/org/monetdb/jdbc/MonetBlob.java
--- a/src/main/java/org/monetdb/jdbc/MonetBlob.java
+++ b/src/main/java/org/monetdb/jdbc/MonetBlob.java
@@ -231,7 +231,7 @@ public final class MonetBlob implements 
         * pos. The bytes written to the stream will overwrite the existing
         * bytes in the Blob object starting at the position pos. If the end
         * of the Blob value is reached while writing to the stream, then
-        * the length of the Blob value will be increased to accomodate the
+        * the length of the Blob value will be increased to accommodate the
         * extra bytes.
         *
         * @param pos the position in the BLOB value at which to start
diff --git a/src/main/java/org/monetdb/jdbc/MonetClob.java 
b/src/main/java/org/monetdb/jdbc/MonetClob.java
--- a/src/main/java/org/monetdb/jdbc/MonetClob.java
+++ b/src/main/java/org/monetdb/jdbc/MonetClob.java
@@ -211,7 +211,7 @@ public final class MonetClob implements 
         * Clob object represents, starting at position pos. Characters written 
to the stream
         * will overwrite the existing characters in the Clob object starting 
at the position pos.
         * If the end of the Clob value is reached while writing characters to 
the stream,
-        * then the length of the Clob value will be increased to accomodate 
the extra characters.
+        * then the length of the Clob value will be increased to accommodate 
the extra characters.
         *
         * Note: If the value specified for pos is greater then the length+1 of 
the CLOB value
         * then the behavior is undefined. Some JDBC drivers may throw a 
SQLException while
@@ -232,7 +232,7 @@ public final class MonetClob implements 
         * this Clob object represents, starting at position pos. Characters 
written to the stream
         * will overwrite the existing characters in the Clob object starting 
at the position pos.
         * If the end of the Clob value is reached while writing characters to 
the stream,
-        * then the length of the Clob value will be increased to accomodate 
the extra characters.
+        * then the length of the Clob value will be increased to accommodate 
the extra characters.
         *
         * Note: If the value specified for pos is greater then the length+1 of 
the CLOB value
         * then the behavior is undefined. Some JDBC drivers may throw a 
SQLException while
@@ -252,7 +252,7 @@ public final class MonetClob implements 
         * Writes the given Java String to the CLOB value that this Clob object 
designates at the position pos.
         * The string will overwrite the existing characters in the Clob object 
starting at the position pos.
         * If the end of the Clob value is reached while writing the given 
string,
-        * then the length of the Clob value will be increased to accomodate 
the extra characters.
+        * then the length of the Clob value will be increased to accommodate 
the extra characters.
         *
         * @param pos the position at which to start writing to the CLOB value 
that this Clob object represents
         * @param str the string to be written to the CLOB value that this Clob 
designates
@@ -270,7 +270,7 @@ public final class MonetClob implements 
         * Writes len characters of str, starting at character offset, to the 
CLOB value that this Clob represents.
         * The string will overwrite the existing characters in the Clob object 
starting at the position pos.
         * If the end of the Clob value is reached while writing the given 
string,
-        * then the length of the Clob value will be increased to accomodate 
the extra characters.
+        * then the length of the Clob value will be increased to accommodate 
the extra characters.
         *
         * @param pos the position at which to start writing to this CLOB object
         * @param str the string to be written to the CLOB value that this Clob 
object represents
diff --git a/src/main/java/org/monetdb/jdbc/MonetConnection.java 
b/src/main/java/org/monetdb/jdbc/MonetConnection.java
--- a/src/main/java/org/monetdb/jdbc/MonetConnection.java
+++ b/src/main/java/org/monetdb/jdbc/MonetConnection.java
@@ -1652,9 +1652,9 @@ public class MonetConnection
        }
 
        /**
-        * Get the currently registerered {@link UploadHandler}, or null
+        * Get the currently registered {@link UploadHandler}, or null
         *
-        * @return the currently registerered UploadHandler, or null
+        * @return the currently registered UploadHandler, or null
         */
        public UploadHandler getUploadHandler() {
                return uploadHandler;
@@ -1670,9 +1670,9 @@ public class MonetConnection
        }
 
        /**
-        * Get the currently registerered {@link DownloadHandler} handler, or 
null
+        * Get the currently registered {@link DownloadHandler} handler, or null
         *
-        * @return the currently registerered DownloadHandler handler, or null
+        * @return the currently registered DownloadHandler handler, or null
         */
        public DownloadHandler getDownloadHandler() {
                return downloadHandler;
@@ -2298,7 +2298,7 @@ public class MonetConnection
 
                /** The Connection that we should use when requesting a new 
block */
                private final MonetConnection.ResponseList parent;
-               /** Whether the fetchSize was explitly set by the user */
+               /** Whether the fetchSize was explicitly set by the user */
                private final boolean cacheSizeSetExplicitly;
                /** Whether we should send an Xclose command to the server
                 *  if we close this Response */
@@ -2531,7 +2531,7 @@ public class MonetConnection
                 * needs to be consistent with regard to its internal data.
                 *
                 * @throws SQLException if the data currently in this Response 
is not
-                *         sufficient to be consistant
+                *         sufficient to be consistent
                 */
                /* MvD: disabled not used/needed code
                @Override
@@ -2936,7 +2936,7 @@ public class MonetConnection
         * The SchemaResponse represents an schema modification response.
         * It is issued on statements like CREATE, DROP or ALTER TABLE.
         * This response keeps a field that represents the success state, as
-        * defined by JDBC, which is currently in MonetDB's case alwats
+        * defined by JDBC, which is currently in MonetDB's case always
         * SUCCESS_NO_INFO.  Note that this state is not sent by the
         * server.<br />
         * <samp>&amp;3</samp>
diff --git a/src/main/java/org/monetdb/jdbc/MonetDatabaseMetaData.java 
b/src/main/java/org/monetdb/jdbc/MonetDatabaseMetaData.java
--- a/src/main/java/org/monetdb/jdbc/MonetDatabaseMetaData.java
+++ b/src/main/java/org/monetdb/jdbc/MonetDatabaseMetaData.java
@@ -1290,7 +1290,7 @@ public final class MonetDatabaseMetaData
 
        /**
         * Can statements remain open across commits?  They may, but
-        * this driver cannot guarentee that.  In further reflection.
+        * this driver cannot guarantee that.  In further reflection.
         * we are taking a Statement object here, so the answer is
         * yes, since the Statement is only a vehicle to execute some SQL
         *
@@ -1303,7 +1303,7 @@ public final class MonetDatabaseMetaData
 
        /**
         * Can statements remain open across rollbacks?  They may, but
-        * this driver cannot guarentee that.  In further contemplation,
+        * this driver cannot guarantee that.  In further contemplation,
         * we are taking a Statement object here, so the answer is yes again.
         *
         * @return true if they always remain open; false otherwise
@@ -1334,7 +1334,7 @@ public final class MonetDatabaseMetaData
        }
 
        /**
-        * Whats the limit on column name length.
+        * What's the limit on column name length.
         * I take some safety here, but it's just a varchar in MonetDB
         *
         * @return the maximum column name length
@@ -1543,7 +1543,7 @@ public final class MonetDatabaseMetaData
 
        /**
         * What is the database's default transaction isolation level?
-        * We only see commited data, nonrepeatable reads and phantom
+        * We only see committed data, nonrepeatable reads and phantom
         * reads can occur.
         *
         * @return the default isolation level
@@ -2208,7 +2208,7 @@ public final class MonetDatabaseMetaData
         * <P>Only privileges matching the column name criteria are
         * returned.  They are ordered by COLUMN_NAME and PRIVILEGE.
         *
-        * <P>Each privilige description has the following columns:
+        * <P>Each privilege description has the following columns:
         *      <OL>
         *      <LI><B>TABLE_CAT</B> String =&gt; table catalog (may be null)
         *      <LI><B>TABLE_SCHEM</B> String =&gt; table schema (may be null)
@@ -2217,7 +2217,7 @@ public final class MonetDatabaseMetaData
         *      <LI><B>GRANTOR</B> =&gt; grantor of access (may be null)
         *      <LI><B>GRANTEE</B> String =&gt; grantee of access
         *      <LI><B>PRIVILEGE</B> String =&gt; name of access (SELECT,
-        *              INSERT, UPDATE, REFRENCES, ...)
+        *              INSERT, UPDATE, REFERENCES, ...)
         *      <LI><B>IS_GRANTABLE</B> String =&gt; "YES" if grantee is 
permitted
         *              to grant to others; "NO" if not; null if unknown
         *      </OL>
@@ -2315,7 +2315,7 @@ public final class MonetDatabaseMetaData
         *      <LI><B>GRANTOR</B> =&gt; grantor of access (may be null)
         *      <LI><B>GRANTEE</B> String =&gt; grantee of access
         *      <LI><B>PRIVILEGE</B> String =&gt; name of access (SELECT,
-        *              INSERT, UPDATE, REFRENCES, ...)
+        *              INSERT, UPDATE, REFERENCES, ...)
         *      <LI><B>IS_GRANTABLE</B> String =&gt; "YES" if grantee is 
permitted
         *              to grant to others; "NO" if not; null if unknown
         *      </OL>
@@ -3145,7 +3145,7 @@ public final class MonetDatabaseMetaData
         *      <LI><B>TYPE</B> short =&gt; index type:
         *              <UL>
         *              <LI> tableIndexStatistic - this identifies table 
statistics that are
-        *                       returned in conjuction with a table's index 
descriptions
+        *                       returned in conjunction with a table's index 
descriptions
         *              <LI> tableIndexClustered - this is a clustered index
         *              <LI> tableIndexHashed - this is a hashed index
         *              <LI> tableIndexOther - this is some other style of index
@@ -3883,7 +3883,7 @@ public final class MonetDatabaseMetaData
 
        /**
         * Retrieves whether a SQLException while autoCommit is true
-        * inidcates that all open ResultSets are closed, even ones that are
+        * indicates that all open ResultSets are closed, even ones that are
         * holdable. When a SQLException occurs while autocommit is true, it
         * is vendor specific whether the JDBC driver responds with a commit
         * operation, a rollback operation, or by doing neither a commit nor
diff --git a/src/main/java/org/monetdb/jdbc/MonetPreparedStatement.java 
b/src/main/java/org/monetdb/jdbc/MonetPreparedStatement.java
--- a/src/main/java/org/monetdb/jdbc/MonetPreparedStatement.java
+++ b/src/main/java/org/monetdb/jdbc/MonetPreparedStatement.java
@@ -144,7 +144,7 @@ public class MonetPreparedStatement
                 * parameterized query. This result set however needs to be
                 * read in one DataBlockResponse due to protocol limitations.
                 * This requires the fetchSize needs to be set large enough
-                * to retrieve all rows in one go, else we get eror:
+                * to retrieve all rows in one go, else we get error:
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to