Title:
Bug 74151:When using ORM a created property that has a name that is the same as a sql reserved word entity creation fails in the db with dbcreate turned on, but no errors are thrown at application initializatio
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Benjamin Archibald / Ben Archibald (BenArchie)
Created: 12/09/2008
Components: ORM Support
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 / 220733
Priority/Frequency: Normal / Unknown
Locale/System: English / Platforms All
Vote Count: 0
Problem:
When using ORM a created property that has a name that is the same as a sql reserved word entity creation fails in the db with dbcreate turned on, but no errors are thrown at application initialization time.
for an example, create a cfc with orm enabled, set dbcreate on, use derby and create a property with a name of "key" . The application will initialize but when you perform an entity save on the object it will throw a table does not exist error.
Desired behavior for this engineer would be an application initialization error similar to hibernate errors for failed foreign key mappings etc. RATHER than a failure at runtime.
Method:
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3037012
External Customer Info:
External Company:
External Customer Name: Ben Archibald
External Customer Email: 3AA72D3444AEF7EB9920157F
External Test Config: 12/09/2008
Attachments:
Comments: