Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to handle springboot-yml file with oracle database?

User_IU1HBDec 3 2021

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.

Comments

Post Details

Added on Dec 3 2021
0 comments
357 views