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

Problems in Insert or update in tabular format #675

Open
vinayak115 opened this issue May 25, 2021 · 2 comments
Open

Problems in Insert or update in tabular format #675

vinayak115 opened this issue May 25, 2021 · 2 comments

Comments

@vinayak115
Copy link

We are using the dbfit testing with oracle DB and some of the tables have columns that are in lower case and it was done on purpose. When we use the dbfit insert in tabular format, we provide column names in smaller case like "id". DBFIT converts that field into upper case => ID, and when the test runs it trying to find ID column which does not exist.

Is there a plan to make DBFIT with Oracle compatible for lower case columns?

@vinayak115
Copy link
Author

It is about the fields having double quotes in their name. "id"

@kingpinsf
Copy link

Just to be clear...
The issue here is that, even when a tabular INSERT specifies the column name with double quotes (e.g. "id" or "address"), DBFit will strip off the quotes when it generates the INSERT statement (e.g. insert into mytable (id, address) values (?,?)).

Oracle will not recognize the lowercase column names without the quotes, expecting to find columns with uppercase names - (e.g. ORA-00904 "ID": invalid identifier).

If DBFit respected the quotes in the tabular INSERT column name and included them in the generated INSERT statement, then this could work.

Can that be fixed?

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

2 participants