Joined: Tue Aug 25, 2009 8:30 am Posts: 2
|
I am using nhibernate...but probably similiar solution(if there is one) so i reposted here.
I am trying to map a legacy table that has a key of 8 byte binary using the following mapping and nhibernate throws a "Illegal use of an array as an identifier"...any ideas? I was thinking tricking it with GUID but that is a 16byte binary.
<class name="JefbaseHIB.BusinessObjects.Company, JefbaseHIB" table="dbo.Company" lazy="true"> <id name="Id" column="Company_Id"> <generator class="assigned" /> </id> ...
Thanks....
|
|