EF Generate Primary Key from Sequence
Posted: Fri 22 Aug 2014 21:26
I'm testing dotConnect for Oracle and Entity Developer, both trial versions.
I want to let the database generate the entity's id based on a sequence nextval.
I'm currently following the steps described at http://blog.devart.com/set-identity-and ... ggers.html, but whenever I set the attribute's default value in Entity Developer to S_USER.NEXT_VAL I get an error like "Default value (S_USER.NEXTVAL) is not valid. Expected an integer between -9223372036854775808 and 9223372036854775807."
The procedures described at this link are out to date?
What I'm doing wrong?
Any help would be awesome
Thank you
I want to let the database generate the entity's id based on a sequence nextval.
I'm currently following the steps described at http://blog.devart.com/set-identity-and ... ggers.html, but whenever I set the attribute's default value in Entity Developer to S_USER.NEXT_VAL I get an error like "Default value (S_USER.NEXTVAL) is not valid. Expected an integer between -9223372036854775808 and 9223372036854775807."
The procedures described at this link are out to date?
What I'm doing wrong?
Any help would be awesome
Thank you