The property name is optional in the identifier element.The identifier
element itself is mandatory

On Fri, Dec 5, 2008 at 7:43 AM, isaiah perumalla <
[EMAIL PROTECTED]> wrote:

>
> hey i downloaded the latest nhibernate.
> I'm pretty sure i read that the identifier property in the mapping
> file was optional.
> however i get an error if my entity doesnt have an id field or
> property. in my mapping file i have the identifier property mapped as
> shown below
>
> <id column="id_column">
>    <generator class="native"/>
> </id>
>
> any ideas, what i might be missing
>
> Thanks
>
>
> >
>

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