Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
-4 votes
1 answer
103 views

The properties in the application.properties file are not working. The application connects to the test database instead of the one specified in the application.properties file, and it also connects ...
Investia.tech's user avatar
0 votes
1 answer
76 views

I'm not sure if this is a MongoDB issue, an issue with the mongo-java-driver or if I'm doing something worng. The issue is that MongoDB can behave differently in case there is a $eq operator or if a {...
the's user avatar
  • 361
0 votes
1 answer
45 views

Title - MongoTimeoutException in Testcontainers Integration Test : Open Liberty app attempts to connect to Kubernetes FQDNs instead of local alias I am writing integration tests for an Open Liberty-...
VR7's user avatar
  • 112
2 votes
1 answer
68 views

I have a Spring Boot microservice that provides non-blocking APIs for creating and managing entities called Product. The services uses a MongoDB. For design purposes, each Product needs to have a ...
Space Cadet's user avatar
0 votes
1 answer
74 views

We're using a fairly complex MongoDB aggregation pipeline in a Java Spring Boot application with the MongoTemplate.aggregate API. The pipeline includes match, project, multiple lookups, unwind, group, ...
Sapir Zafrani's user avatar
0 votes
0 answers
34 views

For some reason, the IDEA's evaluation expression hangs when trying to call block() on some nested reactive MongoDB publisher (Mono/Flux). FindPublisher<Registration> registrationPublisher = ...
Maxim Volkomorov's user avatar
0 votes
1 answer
94 views

When running my project, the MongoDB driver is connected successfully to the MongoDB cluster. However, I see nowhere that Liquibase starts up in the logs. No Liquibase errors, warnings, logs, nothing ...
Luis Sanchez's user avatar
1 vote
1 answer
92 views

I use spring-data-mongodb in my project. I have some code like that: @Repository public interface NameRepository extends MongoRepository<Name, String> { List<Name> findByStatus(String ...
victorli's user avatar
0 votes
1 answer
144 views

In Mongodb PSSSA (1 primary, 3 secondary, 1 arbiter) deployments when 2 secondary DB’s go down and only PSA is present. when the primary mongo db is restart few times , all database queries start to ...
sakthivel C's user avatar
0 votes
0 answers
51 views

Not able to sort the documents in descending order on last updated time stamp if the documents having the January and February records. how to get the documents in descending order Query query= new ...
Anuja Patil's user avatar
1 vote
0 answers
79 views

I am developing a project and I am now creating junits for parts of my code where I use a mongo DB connection. On my actual DB it works fine but I am trying to set up an embedded DB to run my tests on ...
Luís Casqueiro's user avatar
0 votes
1 answer
34 views

@Document("scenarios") public class Scenario { @Id private String id; @Indexed(unique = true) private String name; private String description; @JsonSerialize(using = ...
B Sheely's user avatar
0 votes
1 answer
51 views

I'm building an Expense Tracker web app using Java Servlets and MongoDB. I want to filter expense documents based on user and category (e.g., user: "chir", category: "education"). ...
CHIRSMITA THAKUR's user avatar
0 votes
1 answer
47 views

I am trying to save a mongo document, that document also has a embedded document, we are using @Reference annotation to avoid embedded document's unique constraint being reflected on the main document,...
NAGANATHAN 's user avatar
1 vote
1 answer
49 views

How can I call a default interface method from an implementation class? @Repository public class FileInfoRepoImpl implements FileInfoRepo { @Autowired MongoTemplate mongoTemplate; ...
Papp Zoltán's user avatar

15 30 50 per page
1
2 3 4 5
633