java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword requested was not found

ssm (Oracle) database connection pool configuration druid, normal to start the project, but an error when requesting access to database

"Java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword requested was not found."

the reason:

  jdbc configuration validationQuery: SELECT 1

This is the wording mysql, oracle should read validationQuery: SELECT * from dual.

validationQuery is used to test the database connection, to write a database according to specific types of

 

Guess you like

Origin www.cnblogs.com/kaizhengMan/p/11023663.html