Hibernate HT_ Temporary Tables ON JOINED inheritance, Migration from Hibernate 3.4.0.GA To 5.1
<p>I'm trying to migrate an application from Hibernate 3.4.0.GA to Hibernate 5.1, and after complete the required changes on java code, when I deploy the application I'm watching how Hibernate is trying to <strong>create HT_ tables</strong> (global temporary), one for each <strong>@Inheritance</strong> annotated entity.</p>

<p>Searching on Google I've <a href="http://in.relation.to/2005/07/20/multitable-bulk-operations/" rel="nofollow noreferrer">found </a> why the tables are being created.</p>

<p>But in my case we are not allow to change de database to add new tables.</p>

<p>My Inheritance model only has one level of Inheritance and its simple, <a href="https://imagebin.ca/v/2b8fz1IrTnEt" rel="nofollow noreferrer">example</a></p>

<p>Does anyone knows any alternative representation for a hierarchical table structure that I can use to <strong>avoid the HT_ tables creation</strong>, or some Hibernate configuration to archive the same purpose?.</p>

<p>I can change the inheritance hierarchy on our entities or the Hibernate configuration. I can also asume an exception on deploy caused by the non creation of the tables if it´s non blocking for the rest of the deploy.</p>

<p>Thank you in advance.</p>

<p><strong>UPDATE 1:</strong> <a href="https://forum.hibernate.org/viewtopic.php?f=1&amp;t=1043080" rel="nofollow noreferrer">New info from Hibernate official forum.</a></p>

<p><strong>UPDATE 2:</strong> <a href="https://hibernate.atlassian.net/browse/HHH-11262" rel="nofollow noreferrer">The Bug was fixed</a></p>

<p><strong>UPDATE 3:</strong> <a href="https://in.relation.to/2017/02/01/non-temporary-table-bulk-id-strategies/" rel="nofollow noreferrer">A blog entry explaining different bulk Strategies related to the issue</a></p>