Oracle查询超时问题:Spring Boot与Druid集成场景?
error.log:### Cause: java.sql.SQLRecoverableException: IO Error: Socket read timed outerror.log:; IO Error: Socket read timed out; nested exception is java.sql.SQLRecoverableException: IO Error: Socket read timed outerror.log: at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator...
1.4k 阅读
null是个常量, 表示空, dual表示空表, 即不需要指定表时,用dual占位.
这是oracle数据库的写法.
会返回3