简体   繁体   中英

printing the properties of Tomcat DBCP DataSource object

如何打印tomcat DBCP framework返回的DataSource的DBCP配置?

You can always use the getter methods for looking inside a DataSource object.

OR

You can simply use the toString() method of DataSource object which will print the pool properties

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM