Skip to content

Commit

Permalink
site: dependency: Add warning about escaping factory class names
Browse files Browse the repository at this point in the history
  • Loading branch information
kohlschuetter committed Oct 14, 2022
1 parent 4baf543 commit a8d0e67
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/site/markdown/dependency.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,11 @@ have).
There are currently three distinct ways (socket factories) how to configure the connection to your
database:

> *NOTE* When specifying these class names from the command line, you may need to put them in single
quotes (or escape the `$` sign), otherwise your shell may erroneously interpret `$FactoryArg` etc.
as a variable and fail with `java.lang.ClassNotFoundException:
org.newsclub.net.unix.AFUNIXSocketFactory`

1. **org.newsclub.net.unix.AFUNIXSocketFactory$FactoryArg**

You provide the socket path via the `socketFactoryArg` JDBC property.
Expand Down

0 comments on commit a8d0e67

Please sign in to comment.