This project is archived and is in readonly mode.
Oracle adapter should escape keywords
Reported by Ola Bini | December 9th, 2008 @ 11:44 AM | in 2.x
If you try to create a table that contains a reserved keyword as a column in, with Oracle, the activerecord-oracle-adapter will fail to create that table. The preferred behavior would be to have the adapter check for keywords in quote_column_name, and escape them in that case. Some fairly common words, such as "size", is a keyword in Oracle and will make things fail in ugly ways.
Comments and changes to this ticket
-
Frederick Cheung December 9th, 2008 @ 02:04 PM
- State changed from new to invalid
Sorry, the oracle adapter isn't part of rails any more. You should probably report this to the maintainer of the new oracle adapter (rubyforge project here (they might even have fixed this already)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>