You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+39-4Lines changed: 39 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ You'll also need to add the JDBC driver needed for your database.
30
30
|`:maximum-pool-size`| No |`10`| This property controls the maximum size that the pool is allowed to reach, including both idle and in-use connections. Basically this value will determine the maximum number of actual connections to the database backend. |
31
31
|`:pool-name`| No | Auto-generated | This property represents a user-defined name for the connection pool and appears mainly in logging and JMX management consoles to identify pools and pool configurations. |
32
32
|`:jdbc-url`|**Yes¹**| None | This property sets the JDBC connection URL. Please note the `h2` adapter expects `:url` instead of `:jdbc-url`. |
33
-
|`:driver-class-name`| No | None | This property sets the JDBC driver class. |
33
+
|`:driver-class-name`| No | None | This property sets the JDBC driver class. The class must exist on the classpath and implement `java.sql.Driver`. Note: Do not use DataSource class names here (e.g., use `org.postgresql.Driver`, not `org.postgresql.ds.PGSimpleDataSource`).|
34
34
|`:adapter`|**Yes¹**| None | This property sets the database adapter. Please check [Adapters and corresponding datasource class names](#adapters-and-corresponding-datasource-class-names) for the full list of supported adapters and their datasource class names. The value should be provided as a string. |
35
35
|`:username`| No | None | This property sets the default authentication username used when obtaining Connections from the underlying driver. |
36
36
|`:password`| No | None | This property sets the default authentication password used when obtaining Connections from the underlying driver. |
@@ -245,7 +245,7 @@ Custom translations of properties can be added by extending the
245
245
:max-lifetime300000
246
246
:pool-name"clickhouse-conn-pool"})
247
247
248
-
(defoncedatasource
248
+
(defoncedatasource
249
249
(delay (make-datasource datasource-options)))
250
250
251
251
(defn-main
@@ -283,7 +283,7 @@ Custom translations of properties can be added by extending the
283
283
(close-datasource @datasource))
284
284
```
285
285
286
-
###Notice
286
+
## Notice
287
287
288
288
`make-datasource` will throw `IllegalArgumentException` when invalid
0 commit comments