[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-1918) enable non-hilo identity generation in DerbyDialect

Strong Liu (JIRA) noreply at atlassian.com
Thu Dec 24 09:13:29 EST 2009


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Strong Liu resolved HHH-1918.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 3.5

> enable non-hilo identity generation in DerbyDialect
> ---------------------------------------------------
>
>                 Key: HHH-1918
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1918
>             Project: Hibernate Core
>          Issue Type: Patch
>         Environment: 3.2.0.rc2, Derby
>            Reporter: Adrian Moos
>            Priority: Minor
>             Fix For: 3.5
>
>   Original Estimate: 2 minutes
>  Remaining Estimate: 2 minutes
>
> > From: hibernate-devel-bounces at lists.sourceforge.net
> > [mailto:hibernate-devel-bounces at lists.sourceforge.net]On Behalf Of Max
> > Rydahl Andersen
> > Sent: Mittwoch, 12. Juli 2006 12:20
> > To: hibernate-devel at lists.sourceforge.net
> > Cc: skjohn at us.ibm.com
> > Subject: Re: [Hibernate] native id generation in DerbyDialect
> > 
> > 
> > The DerbyDialect was contributed by an external party.
> > 
> > If you have a better implementation patches are welcome in our jira.
> See below. Knowing little about derby I am not sure 100% sure it is better, but it appears to be.
> > But it would be nice to know why the external contributor choose
> > to use tablehilo as the default and have that "fun" 
> > identitycolumnstring.
> Indeed. Alas, he hasn't replied ...
> Patch: Delete
> 	public Class getNativeIdentifierGeneratorClass() {
> 		return TableHiLoGenerator.class;
> 	}
> from org.hibernate.dialect.DerbyDialect
> QA: My test application using sequence identifier generation works correctly. Identity generation not tested, but as the contributor provided an improved query string this should be ok.

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