swaldman / c3p0

a mature, highly concurrent JDBC Connection pooling library, with support for caching and reuse of PreparedStatements.
http://www.mchange.com/projects/c3p0
Other
1.28k stars 338 forks source link

how to use environmental variables in c3p0-config.xml #145

Open JackZhai2018 opened 4 years ago

JackZhai2018 commented 4 years ago

The program is runing in the docker container. How to use environmental variables of container service in c3p0-config.xml

${xxxxxx} can work for me?

swaldman commented 6 months ago

(four years later... sorry!)

c3p0-config.xml has no support for environment variable substitution, but the HOCON config format does.