]
Steve Ebersole closed HHH-1179.
-------------------------------
Closing stale resolved issues
support inline sequence id generation on Oracle using RETURNING
clause
----------------------------------------------------------------------
Key: HHH-1179
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1179
Project: Hibernate Core
Issue Type: New Feature
Components: core
Reporter: Steve Ebersole
Assignee: Steve Ebersole
Priority: Minor
Fix For: 3.2.0 cr1
A common practice on Oracle is to use sequences for id generation, but to
"inline" the nextval call into the insert statement utilizing the
Oracle-specific RETURNING clause to return the generated value:
insert into my_table ( id, name ) values ( sequence_name.nextval, 'blahblahblah'
) returning id
the process is very simliar to dialects supporting "insert-select-identity"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: