Duplicate of BUG-000088358: Addressed in 10.5 by BUG-000088358
解决办法
Workaround 1: Create the table with a unique constraint rather than a primary key constraint and register it with the geodatabase. This results in a dialog box prompting the user if they would like to use the unique numeric field or create a new OID field.Workaround 2: Use the ArcSDE command line tools 'sdelayer -o register' with the '-C' option to specify if the row ID is to be registered as user maintained or ArcSDE maintained.