Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey
Filter by
Sorted by
Tagged with
-1 votes
1 answer
93 views

I’m trying to persist a JSON object into a PostgreSQL jsonb column using Spring Data JDBC (not JPA). Even with a custom @WritingConverter that returns a PGobject of type jsonb, PostgreSQL errors out ...
Nofel kad's user avatar
0 votes
0 answers
49 views

I have the following entity setup in Spring Boot with Spring Data JPA: @Entity public class Role extends BaseEntity { @ManyToMany(fetch = FetchType.EAGER, cascade = {CascadeType.PERSIST, ...
Gaurav Kumar's user avatar
0 votes
1 answer
187 views

This is a request for clarification after watching a video about Spring Data JDBC. I have an aggregate made of Book (aggregate root), BookCopy and BookCopyQualityControl. A Book has many BookCopy, and ...
Bidone's user avatar
  • 1
2 votes
1 answer
40 views

With Spring Data JDBC, named queries can be written in META-INF/jdbc-named-queries.properties. Does Spring Data provide a mechanism to have multiple files? Ideally one for each SQL dialect, jdbc-named-...
Xavier Dury's user avatar
  • 1,623
0 votes
1 answer
76 views

I need to implement filtering to all entities' repositories. The filtering follows the same scenario, differing only in Filter and Entity params. So now I have my filter interface: interface ...
Svetlana's user avatar
1 vote
1 answer
126 views

I'm using spring boot 3.4.3. I am trying to figure out best practices on how to use Spring, and I want to be able to return errors as types instead of throwing exceptions. That is my premise. If it ...
Luis Muñiz's user avatar
  • 4,859
0 votes
0 answers
50 views

I use spring-data-jdbc and have mapped my DB tables with org.springframework.data.relational.core.mapping.Table. I also have some custom queries with org.springframework.data.jdbc.repository.query....
einsA's user avatar
  • 941
2 votes
0 answers
121 views

Is there any way or some kind of extension which will generate JOIN query for default Spring Data JDBC repositories? For example: public class Root { private @Id Long id; private String name; ...
Rostislav Olshevsky's user avatar
1 vote
1 answer
82 views

I am using Spring Data JDBC repositories which are defined through interfaces (which extend Repository<Entity, Id> and have their queries specified through @Query) for various entities and ...
Xavier Dury's user avatar
  • 1,623
0 votes
1 answer
49 views

I’m working with Spring Data repositories and came across the following statement in the documentation: Following that path can easily lead to confusion and is discouraged as you will quickly hit ...
satanmoo's user avatar
1 vote
1 answer
76 views

Using Spring Data Relational (Spring Data JDBC V3.3.6), I have an entity setup similar to the following: @Table("entity_a") public record EntityA( @Id Long id, @Column("...
beeesch's user avatar
  • 11
1 vote
1 answer
58 views

I'm implementing a REST service on top of a complex data model using Spring Data JDBC, and I'm hitting the N + 1 problem, where I'm seeing multiple extra queries per record returned. I'm on 3.3.7 and ...
bobtins's user avatar
  • 88
1 vote
1 answer
84 views

I'm encountering a regression on moving from Spring Data JDBC 3.1.1 to 3.3.0, and I'm wondering if it sounds familiar to any experts. UPDATE: I realized that there wasn't enough information on this ...
bobtins's user avatar
  • 88
0 votes
0 answers
77 views

i'm using spring-data-jdbc and i want to store java object as a json into database and when i find or search in the repository i use normal _ as we do in normal spring-data-jdbc nested object as an ...
Youssef Gamal's user avatar
0 votes
1 answer
194 views

I keep getting this exception when persisting/inserting a new entity using Spring Data JDBC. What is wrong with my entity? I already have the version field without final in the audit metadata. I ...
fragilepriCe's user avatar

15 30 50 per page
1
2 3 4 5
26