maybe some corporate naming guidelines for the db... i once worked for a
client which had the most insane naming rules for _everything_ in the
database.

On Wed, Jul 29, 2009 at 1:13 PM, Fabio Maulo <[email protected]> wrote:

> Do you have a special reason to set the PK's index-name to a specific
> custom name when you are creating the DB using NH ?
>
> 2009/7/27 Jan Limpens <[email protected]>
>
>> 2009/7/27 Nexus <[email protected]>
>>
>>>
>>>  <id name="Id" column="Id" unsaved-value="0">
>>>      <generator class="native"/>
>>>    </id>
>>>
>>> Is is not the column="Id" ?
>>>
>>
>> No, not the column name, the name of the Primary Key ("PK_Something")
>>
>>
>>>  On 26 jul, 21:52, James Gregory <[email protected]> wrote:
>>> > AFAIK you can't set the primary key name. Foreign keys yes, primary no.
>>>
>>
>> I am getting this feeling, I might have to hack into these sys.objects
>> tables...
>>
>> --
>> Jan
>>
>>
>>
>>
>
>
> --
> Fabio Maulo
>
>
> >
>

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