Labkey.Query.insertRows throws null value exception for primary key

LabKey Support Forum (Inactive)
Labkey.Query.insertRows throws null value exception for primary key jeckels  2012-02-24 17:28
Status: Closed
 
Hi Xenia,

Looking at the relevant code, it looks like we're specifically checking for the INT column type on SQLServer when determining if it's autoincrement. We should improve our detection code, but if you can at least temporarily use INT instead, the server should pick it up.

https://www.labkey.org/issues/home/Developer/issues/details.view?issueId=14136

Thanks,
Josh