Christian Beikov (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *updated* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiZGJlZWEyMjcy...
) / Improvement (
https://hibernate.atlassian.net/browse/HHH-15525?atlOrigin=eyJpIjoiZGJlZW...
) HHH-15525 (
https://hibernate.atlassian.net/browse/HHH-15525?atlOrigin=eyJpIjoiZGJlZW...
) Allow Global- and PersistentTemporaryTableStrategy to participate in hbm2ddl (
https://hibernate.atlassian.net/browse/HHH-15525?atlOrigin=eyJpIjoiZGJlZW...
)
Change By: Christian Beikov (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
[
https://hibernate.atlassian.net/browse/HHH-15517|https://hibernate.atlass...]
has shown again that the creation of temporary tables might not always be possible with
the database user which is used for normal operations. For global and persistent temporary
tables, we could emit the DDL in hbm2ddl instead and skip creating/dropping tables during
runtime. I suggest we introduce a configuration option for controlling this.
We might need new {{Dialect}} methods though which will have to return us something
similar to {{SqmMultiTableInsertStrategy}} and {{SqmMultiTableMutationStrategy}}, because
the regular methods {{getFallbackSqmInsertStrategy}} and
{{getFallbackSqmMutationStrategy}} require the mapping model to be available, which we
don’t have in the {{SchemaManagementToolCoordinator}}.
(
https://hibernate.atlassian.net/browse/HHH-15525#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15525#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100207- sha1:7afd384 )