Skip to content

Commit

Permalink
Fix hibernate issue and fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mamo committed Feb 17, 2025
1 parent ca29095 commit e3383ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -350,15 +350,6 @@ public synchronized static void initialize(final DataSource ds) throws Exception
*/
serviceBuilder.applySetting("hibernate.id.new_generator_mappings", "true"); // MUST BE BEFORE config.configure

/*
* WARN HHH000457: Joined inheritance hierarchy [nl.bloomville.cdb.model.Party] defined explicit @DiscriminatorColumn.
* Legacy Hibernate behavior was to ignore the @DiscriminatorColumn.
* However, as part of issue HHH-6911 we now apply the explicit @DiscriminatorColumn.
* If you would prefer the legacy behavior, enable the `hibernate.discriminator.ignore_explicit_for_joined`
* setting (hibernate.discriminator.ignore_explicit_for_joined=true)
*/
serviceBuilder.applySetting("hibernate.discriminator.ignore_explicit_for_joined", "true");

m_hibernateOptions.forEach((option, value) -> serviceBuilder.applySetting(option, value));

if(DeveloperOptions.getBool("hibernate.format_sql", true)) {
Expand Down
4 changes: 2 additions & 2 deletions to.etc.domui/src/main/resources/resources/ts/domui.ajax.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e3383ff

Please sign in to comment.