-
Notifications
You must be signed in to change notification settings - Fork 142
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
oracle-create-schema.sql and default reference.conf files mismatch #523
Comments
Hi @rrevi, Thanks for reporting this. You are correct on your comment in the discuss forum.
I will check if we can use lowercase in the default create script. I think that's the best option. However I have a vague memory that @chbatey run into a issue with cases in Oracle and was forced to move it to uppercase. |
From memory the Oracle JDBC driver doesn't support a prepared statement
that returns a value for a table with a case sensitive name and it
manifests its self as a table not found error
…On Mon, Apr 12, 2021 at 11:11 AM Renato Cavalcanti ***@***.***> wrote:
Hi @rrevi <https://github.com/rrevi>,
Thanks for reporting this. You are correct on your comment in the discuss
forum
<https://discuss.lightbend.com/t/akka-persistence-ora-00942-table-or-view-does-not-exist/8085/6?u=octonato>
.
oracle-schema-overrides.conf is fixing this, but that only happens in our
tests. Which also explains why we didn't see any issue.
I will check if we can use lowercase in the default create script. I think
that's the best option. However I have a vague memory that @chbatey
<https://github.com/chbatey> run into a issue with cases in Oracle and
was forced to move it to uppercase.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#523 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOHYG7M6FJZH7YS2HQEGWDTILBO5ANCNFSM42RCNBUQ>
.
|
I am trying the same schema but with all the columns and table names in lower case. It works fine while reading from the tables but I am getting object "EVENT_JOURNAL" does not exist when it tries to insert. Logs for the reference:
Any help how to go about this? I am using the following for my schema: `CREATE SEQUENCE EVENT_JOURNAL_ORDERING_SEQ START WITH 1 INCREMENT BY 1 NOMAXVALUE CREATE TABLE "event_journal" ( CREATE OR REPLACE TRIGGER EVENT_JOURNAL_ORDERING_TRG before insert on "event_journal" REFERENCING NEW AS NEW FOR EACH ROW WHEN (new."ordering" is null) begin select EVENT_JOURNAL_ORDERING_seq.nextval into :new."ordering" from sys.dual; end; CREATE TABLE "event_tag" ( CREATE TABLE "snapshot" ( CREATE OR REPLACE PROCEDURE "reset_sequence" |
Versions used
Akka version: 2.6.13
akka-persistence-jdbc version: 5.0.0
Expected Behavior
Actual Behavior
Relevant logs
N/A
Reproducible Test Case
N/A
For more history on this bug, INCLUDING POSSIBLE FIX see this forum post https://discuss.lightbend.com/t/akka-persistence-ora-00942-table-or-view-does-not-exist/8085
The text was updated successfully, but these errors were encountered: