diff --git a/doc/all-the-options.md b/doc/all-the-options.md index 96f4eba..493e772 100644 --- a/doc/all-the-options.md +++ b/doc/all-the-options.md @@ -87,7 +87,7 @@ Not all databases or drivers support all of these options, or all values for any > Note: If `plan`, `execute!`, or `execute-one!` are passed a `DataSource`, a "db spec" hash map, or a JDBC URL string, they will call `prepare` to create a `PreparedStatement`, so they will accept the above options in those cases. -In addition the the above, `next.jdbc.prepare/execute-batch!` (which does **not** create a `PreparedStatement`) accepts an options hash map that can also contain the following: +In addition to the above, `next.jdbc.prepare/execute-batch!` (which does **not** create a `PreparedStatement`) accepts an options hash map that can also contain the following: * `:batch-size` -- an integer that determines how to partition the parameter groups for submitting to the database in batches, * `:large` -- a Boolean flag that indicates whether the batch will produce large update counts (`long` rather than `int` values), diff --git a/src/next/jdbc/connection.clj b/src/next/jdbc/connection.clj index ddb8f24..2fba6e2 100644 --- a/src/next/jdbc/connection.clj +++ b/src/next/jdbc/connection.clj @@ -372,7 +372,7 @@ These options are supported: * `:auto-commit` -- whether the connection should be set to auto-commit or not; - without this option, the defaut is `true` -- connections will auto-commit, + without this option, the default is `true` -- connections will auto-commit, * `:read-only` -- whether the connection should be set to read-only mode, * `:connection` -- a hash map of camelCase properties to set on the connection, via reflection, e.g., :autoCommit, :readOnly, :schema..." diff --git a/src/next/jdbc/datafy.clj b/src/next/jdbc/datafy.clj index 391f9cf..39451e6 100644 --- a/src/next/jdbc/datafy.clj +++ b/src/next/jdbc/datafy.clj @@ -19,7 +19,7 @@ * `Statement` -- datafies as a bean. Because different database drivers may throw `SQLException` for various - unimplemented or unavailable propertiies on objects in various states, + unimplemented or unavailable properties on objects in various states, the default behavior is to return those exceptions using the `:qualify` option for `clojure.java.data/from-java-shallow`, so for a property `:foo`, if its corresponding getter throws an exception, it would instead diff --git a/src/next/jdbc/result_set.clj b/src/next/jdbc/result_set.clj index e213744..966b197 100644 --- a/src/next/jdbc/result_set.clj +++ b/src/next/jdbc/result_set.clj @@ -11,7 +11,7 @@ A broad range of result set builder implementation functions are provided. - Also provides the default implemenations for `Executable` and + Also provides the default implementations for `Executable` and the default `datafy`/`nav` behavior for rows from a result set. See also https://cljdoc.org/d/seancorfield/next.jdbc/CURRENT/api/next.jdbc.date-time @@ -166,7 +166,7 @@ determine whether to call `.getObject` or some other method to read the column's value, and can choose whether or not to use the `ReadableColumn` protocol-based value processor (and could add metadata to the value to - satify that protocol on a per-instance basis)." + satisfy that protocol on a per-instance basis)." [builder-fn column-by-index-fn] (fn [rs opts] (let [builder (builder-fn rs opts)]