# The SQL query that will be used to validate connections from this pool before
# returning them to the caller. If specified, this query MUST be an SQL SELECT
# statement that returns at least one row.
# Recommended settings:
# for MySQL/PostgreSQL/MS SQL use: SELECT 1
# for DB2 use: SELECT 1 FROM sysibm.sysdummy1
# for Oracle use: SELECT 1 from dual
torque.dsfactory.oscommerce.pool.validationQuery=SELECT 1 from dual
本文介绍了不同数据库(如MySQL, PostgreSQL, MSSQL, DB2, Oracle)在配置连接池时推荐使用的验证查询语句。这些查询语句用于确保从连接池返回的数据库连接有效可用。
334

被折叠的 条评论
为什么被折叠?



