hibernate-reactive
hibernate-reactive copied to clipboard
A reactive API for Hibernate ORM, supporting non-blocking database drivers and a reactive style of interaction with the database.
We only test the upsert for [ReactiveSingleTableEntityPersister](https://github.com/hibernate/hibernate-reactive/blob/main/hibernate-reactive-core/src/main/java/org/hibernate/reactive/persister/entity/impl/ReactiveSingleTableEntityPersister.java), but it's also implemented for [ReactiveUnionSubclassEntityPersister](https://github.com/hibernate/hibernate-reactive/blob/main/hibernate-reactive-core/src/main/java/org/hibernate/reactive/persister/entity/impl/ReactiveUnionSubclassEntityPersister.java) and [ReactiveJoinedSubclassEntityPersister](https://github.com/hibernate/hibernate-reactive/blob/main/hibernate-reactive-core/src/main/java/org/hibernate/reactive/persister/entity/impl/ReactiveJoinedSubclassEntityPersister.java) We should also test the deletion of rows with upsert works (currently we only test...
Hello! I'm writing some DAO-like code and want to ensure a Session is already open when it's called. But Hibernate Reactive doesn't expose a `getCurrentSession()` on `SessionFactory` Mutiny SessionFactory already...
It's related to this issue: https://github.com/quarkusio/quarkus/issues/36211 The error message is quite cryptic and I'm not sure if it's an issue in Quarkus or Hibernate Reactive. We should check if this...
We already test batching in some places: * https://github.com/hibernate/hibernate-reactive/blob/main/hibernate-reactive-core/src/test/java/org/hibernate/reactive/BatchFetchTest.java * https://github.com/hibernate/hibernate-reactive/blob/main/hibernate-reactive-core/src/test/java/org/hibernate/reactive/SubselectFetchTest.java These are the new methods: https://github.com/hibernate/hibernate-reactive/pull/1747
As I was working on something unrelated, I spotted a suspicious pattern within `ReactiveDeleteCoordinator` : it declares a field of type `CompletableFuture`. This looks suspiciously similar to the pattern we...
Hello.. i use Oracle Autonomous Data Warehouse. jdbc url example : jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=server_name)(PORT=port))(CONNECT_DATA=(SERVICE_NAME=serviceName))) https://docs.oracle.com/en/cloud/paas/autonomous-database/adbsa/connect-jdbc-thin-tls.html#GUID-364DB7F0-6F4F-4C42-9395-4BA4D09F0483 but connection error. error message here ``` org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] due to: begin...
With v1 this works fine through the registered classloader service, but with v2 it throws an exception when building the session factory: ```kotlin val configuration = Configuration() configuration .setProperty( Settings.JAKARTA_PERSISTENCE_PROVIDER,...
The test is temporarily disabled for MariaDB: c32c331d682e8e52060ea9bb059bb315cbee1831 Testing with MariaDB requires the support for MySQL: https://github.com/hibernate/hibernate-reactive/issues/1528
Some tests showing the different approaches are: * [UserJsonTypeTest](https://github.com/hibernate/hibernate-reactive/blob/main/hibernate-reactive-core/src/test/java/org/hibernate/reactive/types/UserJsonTypeTest.java) * [StringToJsonTypeTest](https://github.com/hibernate/hibernate-reactive/blob/main/hibernate-reactive-core/src/test/java/org/hibernate/reactive/types/StringToJsonTypeTest.java) * [JsonTypeTest](https://github.com/hibernate/hibernate-reactive/blob/main/hibernate-reactive-core/src/test/java/org/hibernate/reactive/types/JsonTypeTest.java)
See, for example, field `tableExporter` in `org.hibernate.dialect.Dialect`: all those fields are referring directly to `this`, causing any overrides we attempt to apply in a wrapper of the Dialect ignored.