[hibernate-dev] Re: Dialect.supportsValuesList() ignored for InsertUpdateTests.testInsertValues
Christian Beikov <[email protected]> Mon, 8 Mar 2021 10:19:40 +0100
| Newsgroups | gmane.comp.java.hibernate.devel |
|---|---|
| Message-ID | <[email protected]> |
Take a look into org.hibernate.query.sqm.mutation.internal.cte.CteStrategy which uses DML in CTEs to implement a delete for polymorphic entities as well as for cascades. Am 08.03.2021 um 09:43 schrieb Mark Rotteveel: > Thanks > > What do you mean with a CTE mutation strategy? > > Mark > > On 08-03-2021 09:40, Christian Beikov wrote: >> thanks for the report. As you figured, this is currently not handled. >> The method was introduced for a CTE mutation strategy that I rewrote >> and the method currently has no real use. I agree though that it >> makes sense to make use of it for this purpose. >> >> I don't know if it makes sense to handle this in the SqlAstTranslator >> though. It's probably best to do some kind of query splitting for >> this. I created https://hibernate.atlassian.net/browse/HHH-14483 for >> this. Have to think about it a little though. > _______________________________________________ hibernate-dev mailing list -- [email protected] To unsubscribe send an email to [email protected] %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s