Hibernate creates global temporary tables names staring with HT_ for bulk update and delete.
We are not supposed/allowed to create any table from application.
How do we switch off table global temporary creation for hibernate?
Hibernate creates global temporary tables names staring with HT_ for bulk update and delete.
We are not supposed/allowed to create any table from application.
How do we switch off table global temporary creation for hibernate?
hibernate defined several options which you can choose depending on your database capabilities
1-InlineIdsInClauseBulkIdStrategy
2-InlineIdsSubSelectValueListBulkIdStrategy
3-InlineIdsOrClauseBulkIdStrategy
4-CteValuesListBulkIdStrategy
example to use these strategies
<property name="hibernate.hql.bulk_id_strategy"
value="org.hibernate.hql.spi.id.inline.InlineIdsInClauseBulkIdStrategy"
/>
helpful link:
https://docs.jboss.org/hibernate/orm/5.4/userguide/html_single/Hibernate_User_Guide.html#batch