Both works perfect, if yhou don't specify table, it will automagically
create it.

Tuna Toksöz
Eternal sunshine of the open source mind.

http://devlicio.us/blogs/tuna_toksoz
http://tunatoksoz.com
http://twitter.com/tehlike




On Wed, Mar 25, 2009 at 8:12 AM, Stefan Sedich <[email protected]>wrote:

>
> Hello,
>
> I am looking at using the hilo generator (have not used it before), if
> I map like this:
>
> <id name="Id" column="Id">
>      <generator class="hilo" />
> </id>
>
> Where is NH going for the hi value?  is is magically doing something
> itself to handle this? I mapped the hi table and column specifically
>
> <id name="Id" column="Id">
>      <generator class="hilo">
>        <param name="table">hi_values</param>
>        <param name="column">document_hi_value</param>
>      </generator>
> </id>
>
>
> And I see it incrementing the hi value in that table and everything
> works as expected. Any tips would be great on the best way to use this
> generator.
>
>
>
> Cheers
> Stefan
>
> --
> Stefan Sedich
> Software Developer
> http://weblogs.asp.net/stefansedich
>
> >
>

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