Forum Stats

  • 3,783,304 Users
  • 2,254,755 Discussions
  • 7,880,358 Comments

Discussions

How to handle springboot-yml file with oracle database?

When the spring boot project configures the Oracle database, an error is reported when running the spring quartz:

close statement error

Java.sql.sqlrecoverableexception: closed connection

at oracle.jdbc.driver.PhysicalConnection.needLine(PhysicalConnection.java:4220)

at oracle.jdbc.driver.OracleStatement.closeOrCache(OracleStatement.java:1431)

at oracle.jdbc.driver.OracleStatement.close(OracleStatement.java:1410)

at oracle.jdbc.driver.OracleStatementWrapper.close(OracleStatementWrapper.java:102)

What is the reason? SQL can execute normally after an error is reported.