Skip to main content
1 vote
1 answer
38 views

When upgrading to Spring Boot 4 (Hibernate 7) you can get the message that the json functions are incubated, i.e. default its turned off. It will then tell you to set hibernate.query.hql....
avk's user avatar
  • 883
1 vote
1 answer
40 views

Can someone explain to me the following behavior I'm seeing. I have the following simple setup. @Entity public class Contract { @Id private Long id; //... @OneToMany(mappedBy="...
Daniel Yordanov's user avatar
1 vote
0 answers
105 views

I am trying to create a custom generic repository using the fragment interface approach as described in this article: https://docs.spring.io/spring-data/jpa/reference/repositories/custom-...
Sidharth Bajpai's user avatar
-1 votes
1 answer
150 views

I'm new to Java programming and while trying basic programming, I tried to connect java with Mysql Db where i am facing below issue, Failed to initialize JPA EntityManagerFactory: Unable to build ...
Arun Krishna's user avatar
1 vote
1 answer
58 views

I have a Spring Boot application accessing a database having schemata A and B, employing JPA and Hibernate, all entities but one are controlled by me (I can modify them and update their data). ...
Chaos's user avatar
  • 125
2 votes
1 answer
78 views

I was on Grails 3.3.18 and I’m migrating to Grails 6. Since upgrading, I get this warning in my logs: org.hibernate.orm.deprecation - HHH90000022: Hibernate's legacy org.hibernate.Criteria API is ...
Yoann Basquin's user avatar
0 votes
0 answers
98 views

I’m working on enhancing a life insurance quotation workflow using Spring Boot 3 with JPA/Hibernate. The workflow involves several dependent steps: Customer eligibility checks Product → Plan → Rider ...
Kaveesha Sanduni Kodikara's user avatar
1 vote
1 answer
115 views

I'm building a Spring server program which uses a PostgreSQL database. For one of the table columns, I want to restrict the possible values to a static pre-defined set, so I created a PostgreSQL enum ...
Gustav Blaß's user avatar
0 votes
0 answers
77 views

I have two entity classes that both inherit from an abstract class, and a JPA query that searches through all the entities of both derived classes. The query fails when Hibernate selects null for the ...
Lee C.'s user avatar
  • 111
0 votes
1 answer
91 views

I have 2 JPA classes with bi-directional onetoOne mapping : @Entity @Cache(usage = CacheConcurrencyStrategy.NONSTRICT_READ_WRITE) public class Person { @Column(name = "\"Name\"&...
Kitret's user avatar
  • 31
0 votes
0 answers
65 views

I have the next entity three: TestEntity / \ FirstNodeEntity SecondNodeEntity (LIST, LAZY) (LIST, LAZY) | \ ThirdNodeEntity ...
tidik's user avatar
  • 21
2 votes
2 answers
81 views

I have a very simple example: the entity uses TEXT column and the test fails because of it, despite using PostgreSQL testcontainer: application-test.properties spring.datasource.url=jdbc:postgresql://...
parsecer's user avatar
  • 5,261
0 votes
0 answers
86 views

I'm migrating from Spring Boot 2.7 to Spring Boot 3 and this means i'm migrating from Hibernate 5 to Hibernate 6. I'm meeting some LazyInitializationException . This is part of a entity of mine: @Data ...
Removed's user avatar
1 vote
1 answer
55 views

I created a PGvector database: CREATE TABLE IF NOT EXISTS vector_store ( id uuid DEFAULT uuid_generate_v4() PRIMARY KEY, content text, metadata jsonb, embedding vector(1024), ...
Iwan de Jong's user avatar
0 votes
0 answers
85 views

There is a class with an EmbeddedId. @Entity @Getter @Setter @Table(name = "indicator_values") public class IndicatorValue { @EmbeddedId public IndicatorValueId id; @Column(...
Сергей Потапчук's user avatar

15 30 50 per page
1
2 3 4 5
6341