]
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(a)lists.sourceforge.net
> [mailto:hibernate-devel-bounces@lists.sourceforge.net]On Behalf Of Max
> Rydahl Andersen
> Sent: Mittwoch, 12. Juli 2006 12:20
> To: hibernate-devel(a)lists.sourceforge.net
> Cc: skjohn(a)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: