Questions tagged [quarkus-hibernate-orm]
15 questions
2
votes
1 answer
Hibernate configuration property not supported by Quarkus application.properties
I am using Quarkus 2.9.2.Final and would like to set a Hibernate config parameter, which is not one of the "chosen ones" which can go into Quarkus' application.properties as per the documentation.
Specifically I would like to set this Hibernate…

tbsalling
- 4,477
- 4
- 30
- 51
1
vote
1 answer
Unsatisfied dependency with Panache and Multiple Datasources
What I'm trying to do
I'm creating a Vaadin application with Quarkus, and while trying to connect multiple datasources, an error was thrown :
2023-08-06 13:24:47,765 ERROR [io.qua.dep.dev.IsolatedDevModeMain] (main) Failed to start quarkus:…

Jacouille
- 951
- 8
- 14
1
vote
0 answers
Unable to define quarkus.hibernate-orm.physical-naming-strategy in quarkus version 2.14.1.Final
I am trying to map hibernate properties to the database and I do not want to add @Column for entities having camel case
@Entity
public class User extends PanacheEntity{
@Column(name = "user_name")
String userName;
}
I am trying to set the…

Altafhusen Makandar
- 21
- 1
0
votes
1 answer
0
votes
1 answer
H2Dialect in Quarkus 3.0
Upgrading the following code from quarkus 2.0.x to 3.0.x resulting in the deprication of the method: registerColumnType. How to refactor this code, to make this work with 3.0?
public class H2CustomDialect extends H2Dialect {
public…

Sunfile
- 101
- 1
- 4
- 22
0
votes
0 answers
Failing quarkus.hibernate-orm.sql-load-script doesn't fail test but should
I'm running a @QuarkusTest using @QuarkusTestResource(H2DatabaseTestResource.class) with a load script. If the load script fails (bad sql or otherwise), the test is still run. It doesn't make any sense to run the test if the test data wasn't…

stephan f
- 589
- 5
- 16
0
votes
1 answer
return null on quarkus hibernate orm no result
I am working on a project where I am using the Quarkus Hibernate ORM and running queries like the code below. Every time a query fails to find an entity, it throws a 500 error:
fun getByEmail(email: String): MutableList {
return try {
…

Jonas Götz
- 27
- 6
0
votes
1 answer
Quarkus 3 + Hibernate 6 error on packages
I updated my Project to Quarkus 3 and I am getting this error
Association 'com.step.trackactions.model.PlatformActionLeadEntity.company' targets an unknown entity named 'com.step.common.model.Company'
PlatformActionLeadEntity is made like…

Lorenzo De Francesco
- 571
- 1
- 7
- 26
0
votes
1 answer
Quarkus hibernate and orm.xml null EntityManager
I have a very simple that I struggle to make it work the last couple of hours.
I have the following simple classes:
package com.stgiaf.traininng.inventory.domain.model;
import io.quarkus.runtime.annotations.RegisterForReflection;
import…

stgiaf
- 31
- 1
- 6
0
votes
1 answer
Hibernate batch delete with quarkus.hibernate-orm.jdbc.statement-batch-size not working?
According to the Quarkus docs, including the line below in the application.properties should result in delete statements to be batched.
quarkus.hibernate-orm.jdbc.statement-batch-size=1000
However, I can't get this to work. Regardless of this…

Rob van Maris
- 115
- 5
0
votes
1 answer
JPA connect to Derby Database with Hibernate-ORM related problem in Quarkus
Currently, I am trying to build an API with JPA and Derby Database, and I've got some problems with Hibernate Reactive/Hibernate ORM.
Particularly, I want to connect to a Derby database server as…

blank
- 37
- 1
- 7
0
votes
0 answers
hibernate search orm 5.11.9.Final - Check If collection is empty or contains any value from collection
I need to see if the collection is empty or if it contains any values. Either the product does not have a collection associated with it, or one should be offered by us.
Building Query
Entity
JPA code functions properly. I've included a screenshot of…

Aamir
- 1
- 2
0
votes
1 answer
How can I set hibernate-orm.database.generation and create-schemas in application.yaml
I'm new in Quarkus.
I am writing config file in yaml, but got stuck because of this config.
In Quarkus doc, I am seeing these config and I need to configure…

Hyun
- 566
- 1
- 3
- 13
0
votes
1 answer
Quarkus-Hibernate-ORM EntityManager.merge() is not updating database
I have a quarkus application with an Entity, and an DAO Class.
Now I try to update the Entity by calling the merge() function of the EntityManager:
public void update(final T valueObject) {
getEntityManager().merge(valueObject);
}
The…

Jakob Graf
- 376
- 1
- 3
- 14
0
votes
0 answers
Hibernate `create` not dropping table on `5.4.15.Final` version
I am using a 5.4.15.Final version of hibernate. When I am running my application in create mode it is not dropped and create the tables. Is there any way I can do it? I remember I was able to do the same in older version(don't exactly remember the…

Prog_G
- 1,539
- 1
- 8
- 22