[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4884) Ensuring testing of both legacy and new id generator schemes

Steve Ebersole (JIRA) noreply at atlassian.com
Fri Feb 5 12:55:29 EST 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35486#action_35486 ] 

Steve Ebersole commented on HHH-4884:
-------------------------------------

Apparently I made a boo-boo in hooking up the @TableGenerator -> org.hibernate.id.enhanced.TableGenerator in terms of its default initialValue.  org.hibernate.id.enhanced.TableGenerator.initialValue describes the first value returned so as to be consistent with the same term in relation to org.hibernate.id.enhanced.SequenceStyleGenerator.initialValue

JPA does not define the 2 consistently.  For sequence it refers to initial-value (default = 1) as the first retrieved value.  For table it refers to initial-value (default = 0) as the previous retrieved value.

> Ensuring testing of both legacy and new id generator schemes
> ------------------------------------------------------------
>
>                 Key: HHH-4884
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4884
>             Project: Hibernate Core
>          Issue Type: Task
>          Components: annotations, core
>            Reporter: Steve Ebersole
>            Assignee: Steve Ebersole
>             Fix For: 3.5.0-Next
>
>


-- 
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