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.

Activity

Show:

Former user January 6, 2016 at 11:44 PM

Fixed in master and 5.0 branches.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created January 6, 2016 at 11:11 PM
Updated January 13, 2016 at 6:27 PM
Resolved January 6, 2016 at 11:44 PM