Skip to content

Commit

Permalink
SAK-44207 Set hibernate.id.new_generator_mappings back to false after…
Browse files Browse the repository at this point in the history
… Hibernate upgrade (sakaiproject#8691)

The Hibernate 5 upgrade switched hibernate.id.new_generator_mappings to true by default
which made it so sequences set in hbm.xml files with class="native" would not get
created when auto.ddl was set to true to create the schema in a blank database. This
switches the property back to false to maintain the behavior before the Hibernate upgrade.
  • Loading branch information
davidpbauer authored Oct 15, 2020
1 parent 1a19682 commit e266c05
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@
<prop key="hibernate.enable_lazy_load_no_trans">true</prop>
<prop key="hibernate.current_session_context_class">org.springframework.orm.hibernate5.SpringSessionContext</prop>
<prop key="org.apache.ignite.hibernate.default_access_type">READ_ONLY</prop>
<prop key="hibernate.id.new_generator_mappings">false</prop>
<!-- prop key="hibernate.cache.query_cache_factory">org.sakaiproject.hibernate.IgniteStandardQueryCacheFactory</prop -->
</props>
</property>
Expand Down

0 comments on commit e266c05

Please sign in to comment.