Assuming your gapsize is 100, you'll need to set the hi in database to 51, i guess. or 50, but to be safe use 52 :)
Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, May 31, 2010 at 3:31 PM, Paulo Quicoli <[email protected]>wrote: > Hi friends! > > I'm using Hilo in default way, so I have just one table > (HIBERNATE_UNIQUE_KEY) with only one field (NEXT_HI). > > In this database I did a "conversion" of old data, so I have in other > tables records with PKs from old database. These PKs are per table, > sequenced (1,2,3,4, etc) and for me this is OK. > > I need to know how to configure my Hilo now, to generate correctly new PKs, > as I have only one Hilo for all tables. If my today my highest PK (in all > existing tables) is 5000, how can I configure Hilo to generate values bigger > than that? > > Thanks ! > > > > > > > > -- > Paulo Quicoli > Editor Técnico: .NET Magazine, ClubeDelphi Magazine, WebMobile Magazine > www.devmedia.com.br > http://pauloquicoli.spaces.live.com > twitter:@pauloquicoli > > -- > 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]<nhusers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > -- 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.
