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

Fix default values SQL on Oracle #337

Closed
perdjurner opened this issue Aug 17, 2014 · 3 comments
Closed

Fix default values SQL on Oracle #337

perdjurner opened this issue Aug 17, 2014 · 3 comments
Assignees
Labels
Milestone

Comments

@perdjurner
Copy link
Contributor

This test fails for Oracle (it's commented out at the moment):
test_saving_a_new_model_without_properties_should_not_throw_errors

We need to find the proper Oracle syntax for inserting a record with only default values.

For example, on SQL Server it is:
INSERT INTO table DEFAULT VALUES

The $defaultValues function in Oracle.cfc is where we need to put the correct syntax.

@perdjurner perdjurner added the bug label Aug 17, 2014
@perdjurner perdjurner added this to the 1.3.1 milestone Aug 17, 2014
@perdjurner
Copy link
Contributor Author

I assigned this to you @scahyono because I know you have fixed a bunch of Oracle issues recently. Hopefully you can find a fix for this as well :)

@scahyono
Copy link
Contributor

Fixed and back-ported.

@perdjurner
Copy link
Contributor Author

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants