Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.sql.SQLSyntaxErrorException on server startup #1234

Open
mjrerle opened this issue Aug 3, 2019 · 0 comments
Open

java.sql.SQLSyntaxErrorException on server startup #1234

mjrerle opened this issue Aug 3, 2019 · 0 comments

Comments

@mjrerle
Copy link

mjrerle commented Aug 3, 2019

Summary:
Several of these exceptions are thrown on server startup when using the tomcat STS plugin.
These exceptions are ignored and logged, the server will start up regardless.

Stacktrace:

[DEBUG] Testing a Connection in response to an Exception:
java.sql.SQLSyntaxErrorException: ORA-02275: such a referential constraint already exists in the table
...
at com.revature.utils.HibernateUtil.buildSessionFactory(HibernateUtil.java:46) [classes/:na]
at com.revature.utils.HibernateUtil.<clinit>(HibernateUtil.java:18) [classes/:na]
at com.revature.utils.ContextListener.contextInitialized(ContextListener.java:17) [classes/:na]
...
Caused by: oracle.jdbc.OracleDatabaseException: ORA-02275: such a referential constraint already exists in the table
at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:498) ~[ojdbc8-12.2.0.1.jar:12.2.0.1.0]
... 58 common frames omitted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant