[hibernate-dev] JPA's allocationSize & SequenceHiLoGenerator

Alexander Snaps alex.snaps at gmail.com
Fri Oct 10 12:17:08 EDT 2008


Here's the answer I got:
http://in.relation.to/Bloggers/New323HibernateIdentifierGenerators

As for the allocationSize's default, it is 1 using Hibernate. It won't use
the HiLo algorithm by default.
Everything is covered at the url above... except why isn't this the default
behavior (at least for the JPA impl.)
Alex

On Fri, Oct 10, 2008 at 3:45 PM, Gabriele Salgò <removed at example.com>wrote:

> Hi,
> I read the your post on Hibernate forum:
> http://lists.jboss.org/pipermail/hibernate-dev/2007-November/002811.html
>
> I was just wondering about the same things you wrote. Have you got any
> answer?
> Moreover, do you know if setting the 'allocationSize' attribute to 1
> instead of the default value (50) can give any kind of problem or undesired
> side effect?
>
> Thanks
> Gabriele Salgò
>
>


-- 
Alexander Snaps <alex.snaps at gmail.com>
http://www.jroller.com/page/greenhorn
http://www.linkedin.com/in/alexandersnaps
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-dev/attachments/20081010/0f294fae/attachment.html 


More information about the hibernate-dev mailing list