Skip to content

Upsert only works for PostgreSQL #1768

Closed
@DavideD

Description

@DavideD

Related to PR #1765

We added an upsert method to the stateless session interfaces in Hibernate Reactive.
For example in Mutiny.StatelessSession#upsert.

The problem is that it seems to only work for PostgreSQL.
The test fails for the other databases because when it looks for the results in the db, it returns an empty list.

I've quickly checked the same test with Hibernate ORM and MySQL, and it seems to run different queries. Probably, not all databases support the operation. But we need to look into it.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions