Primary key on Oracle

163 views
Skip to first unread message

stos....@gmail.com

unread,
Sep 16, 2014, 5:46:52 AM9/16/14
to fluentmigrato...@googlegroups.com
Hi

When I use a primary key (ID) like :

.WithColumn("Id").AsInt32().NotNullable().PrimaryKey().Identity();


I get an error from oracle:

!!! Oracle does not support identity columns. Please use a SEQUENCE instead
!!! FluentMigrator.Exceptions.DatabaseOperationNotSupportedException: Oracle doe
s not support identity columns. Please use a SEQUENCE instead


How to deal with it?


Tom Marien

unread,
Sep 16, 2014, 3:10:23 PM9/16/14
to fluentmigrato...@googlegroups.com

Hi

Atm the current processor for oracle does not support identity's yet, from oracle 12c this should be possible.


KR 

stos....@gmail.com

unread,
Oct 15, 2014, 7:20:14 AM10/15/14
to fluentmigrato...@googlegroups.com
Hi

I can see that Oracle supports identities now, but Fluent Migrator still doesn't. Any solutions?
Reply all
Reply to author
Forward
0 new messages