Skip to content

Conversation

@dreab8
Copy link
Member

@dreab8 dreab8 commented Nov 4, 2025

Fix #2412

Based on Vert.X team feedbacks the proposed change forces the explicit type cast of the parameters in the CTE select query.

…or databases supporting Global Temporary issue with transactions

Created a PostgreSQLCteMutationSelect that wraps JdbcSelect and change the original SQL string adding explicit cast to parameters
addExplicitCastToParameters(
jdbcParameterBindings,
newSelect,
context.getSession().getSessionFactory().getMappingMetamodel().getTypeConfiguration()

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
QueryParameterBindingTypeResolver.getTypeConfiguration
should be avoided because it has been deprecated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PostgreSQL: Mutation query with Joined Inheritance for databases supporting Global Temporary issue with transactions

1 participant