[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-1179) support inline sequence id generation on Oracle using RETURNING clause
Steve Ebersole (JIRA)
noreply at atlassian.com
Mon Mar 21 13:01:05 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list