I get following hibernate error. I am able to identify the function which causes the issue. Unfortunately there are several DB calls in the function. I am unable to find the
I got this error because I mistakenly mapped the ID column using Id(x => x.Id, "id").GeneratedBy.**Assigned**();
ID
Id(x => x.Id, "id").GeneratedBy.**Assigned**();
Issue resolved by using Id(x => x.Id, "id").GeneratedBy.**Identity**();
Id(x => x.Id, "id").GeneratedBy.**Identity**();