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

Add oracle example #489

Merged
merged 2 commits into from
Jun 20, 2022
Merged

Add oracle example #489

merged 2 commits into from
Jun 20, 2022

Conversation

pjgg
Copy link
Contributor

@pjgg pjgg commented Jun 17, 2022

Summary

close: #445

This PR creates an example of oracle-service usage for the following scenarios:

  • DevServices
  • DevMode
  • DefaultDatabaseService
  • OracleService
  • OpenShift

Checklist:

  • Example scenarios has been updated / added
  • Methods and classes used in PR scenarios are meaningful
  • Commits are well encapsulated and follow the best practices

@pjgg pjgg requested a review from rsvoboda June 17, 2022 11:47
@pjgg pjgg force-pushed the feat/oracle_example branch from 27b855b to 98591ef Compare June 17, 2022 11:54
@@ -0,0 +1,3 @@
quarkus.datasource.db-kind=oracle
quarkus.hibernate-orm.sql-load-script=import.sql
quarkus.hibernate-orm.database.generation=drop-and-create
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

log contains a lot of error messages because of drop-and-create strategy, tests are passing, application boots etc.
It's just noise and distraction, so I was wondering if that could be suppressed. I would keep drop-and-create in place, just if the verbosity could be a bit reduced.

12:49:16,923 INFO [app] Caused by: Error : 942, Position : 11, Sql = drop table book cascade constraints, OriginalSql = drop table book cascade constraints, Error Msg = ORA-00942: table or view does not exist

12:49:16,928 INFO [app] Caused by: Error : 2289, Position : 14, Sql = drop sequence hibernate_sequence, OriginalSql = drop sequence hibernate_sequence, Error Msg = ORA-02289: sequence does not exist

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

Successfully merging this pull request may close these issues.

Create example app for OracleService
2 participants