[hibernate-dev] Re: Dialect.supportsValuesList() ignored for InsertUpdateTests.testInsertValues

2021-03-08 Thread Christian Beikov
Yeah that's fine, it's not configured for Firebird. Just for PostgreSQL and DB2 which support this. I was just mentioning that it was used there for reference. I'm looking into this right now, so you can expect this to be fixed soon. Regards, Christian Mark Rotteveel schrieb am Mo., 8. März 202

[hibernate-dev] Re: Dialect.supportsValuesList() ignored for InsertUpdateTests.testInsertValues

2021-03-08 Thread Mark Rotteveel
Ah, now I understand. Unfortunately that isn't an option in Firebird, CTEs only support select. Mark On 08-03-2021 10:19, Christian Beikov wrote: 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

[hibernate-dev] Re: Dialect.supportsValuesList() ignored for InsertUpdateTests.testInsertValues

2021-03-08 Thread Christian Beikov
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

[hibernate-dev] Re: Dialect.supportsValuesList() ignored for InsertUpdateTests.testInsertValues

2021-03-08 Thread 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

[hibernate-dev] Re: Dialect.supportsValuesList() ignored for InsertUpdateTests.testInsertValues

2021-03-08 Thread Christian Beikov
Hi Mark, 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