Change "native" ID generator for Oracle12cDialect to SequenceStyleGenerator

Description

Currently, when Oracle12cDialect is used, an IDENTITY column is used for an entity ID when mapped with:
1) <generator class="native"/> using hbm.xml;
2) @GeneratedValue(GenerationType.AUTO) with hibernate.id.new_generator_mappings=false; (note that hibernate.id.new_generator_mappings=true is the default).

After this is fixed, Oracle12cDialect will use a SequenceStyleGenerator in these cases, consistent with earlier versions of Oracle dialect versions.

Environment

None

Status

Assignee

Gail Badner

Reporter

Gail Badner

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major