Hi,
I've made an entity cmp which map a database table which has an 
identitiy (autoincrement) field as primary key. 
When I do a home.create(primary_key) I get the following error:

[Microsoft][ODBC SQL Server Driver][SQL Server] Cannot insert explicit
value for identity column in table when IDENTITY_INSERT is set to OFF.

I've been looking for the INSERT statement which i guess is asociated with
the create method to try to fix it up but I haven't found it.

Does anybody know what I have to do?

Thanks in advance.





Reply via email to