Ok, I see now that you can't serialize a sessionfactory, but the
configuration.

Could't that be a nice feature for the hilo-generator to optionally
remember the high and low-values for applications often being shutdown
by many users? I mean it have already reserved a space of ids, which
in that environment often isn't fully utilized.

On Oct 6, 2:16 am, cws <[email protected]> wrote:
> Hello!
>
> After creating a extending the HiloTableGenerator to generate a column
> in hibernate_unique_key -table, I thought of this.
>
> Having a console app which which many will start over and over again
> and using hilo. Is it possible to utilize serialization of the
> sessionfactory locally for these many installations of the console app
> to avoid fragmentation of ids.
>
> I mean when the app is started can it check for a serialized
> seesionfactory and then avoid increasing hilo-columns until reaching
> max_lo?
>
> The main question is when serializing a sessionfactory, does it also
> serialize the state of the hilo-generator?
>
> Thank you in advance!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to