We've not started supporting new oracle 12c features as of yet, in this
case it might be possible to get it working with some dialect flags since
we already use "returning" to get at the newly generated primary key,
although testing would be needed and other assumptions in the dialect might
get in the way.

Is there a free XE download for 12c yet?   I can do nothing until I can at
least install that, unless you were able to work up patches on your end
(which would be great anyway because I have no time these days).

On Wednesday, April 13, 2016, Piotr Dobrogost <
p...@2016.groups.google.dobrogost.net> wrote:

> Hi all!
>
> At
> http://docs.sqlalchemy.org/en/latest/dialects/oracle.html#auto-increment-behavior
> we read that:
> "With the Oracle dialect, a sequence must always be explicitly specified
> to enable autoincrement."
>
> However, starting with version 12c Oracle supports autoincrement columns
> (see update in this answer http://stackoverflow.com/a/11296469/95735).
>
> Does SQLAlchemy make use of this new feature of Oracle 12c so that it's
> not necessary to explicitly specify sequence in declaration of table
> columns (so that single declaration of such column works for Oracle and
> other databases)? If so, do I have to enable this somehow?
>
> Regards,
> Piotr Dobrogost
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sqlalchemy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sqlalchemy+unsubscr...@googlegroups.com
> <javascript:_e(%7B%7D,'cvml','sqlalchemy%2bunsubscr...@googlegroups.com');>
> .
> To post to this group, send email to sqlalchemy@googlegroups.com
> <javascript:_e(%7B%7D,'cvml','sqlalchemy@googlegroups.com');>.
> Visit this group at https://groups.google.com/group/sqlalchemy.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to