Status/Resolution/Reason: To Test//Fixed
Reporter/Name(from Bugbase): Graham Bakay / ()
Created: 11/13/2018
Components: ORM Support
Versions: 2018
Failure Type: Crash
Found In Build/Fixed In Build: Docker image 2018.0.1 /
Priority/Frequency: Normal / All users will encounter
Locale/System: ALL / Other
Vote Count: 2
Problem Description:
When mapping a sequence to an ORM-mapped component using CfScript annotations, the value for the sequence name is *ignored* and replaced with "hibernate_sequence".
Steps to Reproduce:
Map a component to an Oracle database using annotations and include for the identity column:
/**
...
* @generator "sequence"
* @params "{sequence='AUDIT_HISTORY_SEQ'}"
*/
Actual Result:
11/13 20:05:07 [http-nio-8500-exec-10] ERROR ORA-02289: sequence does not exist
Hibernate:
select
hibernate_sequence.nextval
from
dual
11/13 20:05:28 [http-nio-8500-exec-4] ERROR ORA-02289: sequence does not exist
Expected Result:
Hibernate:
select
AUDIT_HISTORY_SEQ.nextval
from
dual
Any Workarounds:
Downgrade to v2016.
Attachments:
Comments: