Skip to main content
Advice
0 votes
0 replies
28 views

I am trying to implement multi-tenancy in a Spring Boot application using Spring Data Elasticsearch. My goal is: Automatically inject a tenantId filter into all Elasticsearch queries This must apply ...
kernel's user avatar
  • 912
0 votes
0 answers
23 views

We have a very sparse DAG stored in a MySQL 8 table. I want to get all of the nodes leading into (and out of) a given node. The query can be written without too much trouble with the help of this ...
badp's user avatar
  • 11.9k
0 votes
1 answer
60 views

I defined a Hibernate Filter to filter out the deleted records. My wishlist: The Filter should be enabled all the time as default. Only in special cases when I need the deleted records, then I would ...
deadpoint's user avatar
  • 461
0 votes
1 answer
76 views

I have a Spring Boot Data REST project with the following classes @Entity @Data @Builder @NoArgsConstructor @AllArgsConstructor public class Product { @Id private String sku; @OneToMany(...
Michael Rynkiewicz's user avatar
2 votes
1 answer
171 views

I'm delving into Java concepts such as dynamic proxies, reflection, etc. That's why I'm trying to implement some Spring features. Anyway... I created the dynamic proxy: @Override public Object invoke(...
kitt51's user avatar
  • 11
-1 votes
1 answer
98 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
1 vote
1 answer
125 views

In Spring Boot I have an entity: @Entity @Table(name = "Product") @EntityListeners(AuditingEntityListener.class) public class Product extends BaseEntity { ... @NotNull @...
Inux's user avatar
  • 15
0 votes
1 answer
214 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
  • 3
0 votes
1 answer
74 views

Eclipse gives me the following error: The method delete(Sumti) is undefined for the type SumtiRepository DeleteBridiTest.java The relevant parts of DeleteBridiTest.java: public class DeleteBridiTest ...
Árpád Magosányi's user avatar
1 vote
0 answers
68 views

I’m using Redis OM Spring with a simple repository: @Document(value = "Marker", indexName = "MarkerIdx") data class RedisMarker( //other indexed @Indexed ...
Pawandeep Singh's user avatar
2 votes
1 answer
69 views

I'm implementing some tests for REST endpoints that manipulate a database (in test context, I use an H2 database) via spring data JPA, and I would like to have all the tables clean (no data in it, and ...
Skinay's user avatar
  • 21
1 vote
0 answers
68 views

I am working on a Java project where certain XML files are converted to POJOs and then saved to the database in Cassandra. The 2 projects have a common model which are identical in every way. Since ...
BreenDeen's user avatar
  • 734
1 vote
1 answer
47 views

I noticed that Ignite seems to allow SQL querying (with SqlFieldsQuery) of a cache say cache A from a different cache say cache B's IgniteCache reference. I can understand join queries, but shouldn't ...
lmk's user avatar
  • 788
0 votes
1 answer
156 views

I am trying to serialize a model with a LocalDate into a BsonDateTime using Spring Data Mongo. This MongoDB guide for Kotlin usage says that, with the @Serializable and @Contextual annotations, ...
geppettodivacin's user avatar
0 votes
1 answer
39 views

I need to paginate over documents contained in arrays of the root documents. For example, to view the first 10 orders with an open status across customers. Customer structure { "_id": ...
Half_Duplex's user avatar
  • 5,246

15 30 50 per page
1
2 3 4 5
803