Different ways of setting up a MongoDB connection.
Also find me here:
Baeldung Author
Ulisses Lima
By day, I write new code, I improve bad code, and I try to enforce performance standards. Mostly in Java. I also love automating stuff. Mostly in bash. By night, I write technical articles and write tools for personal management. For fun: I'm a Street Fighter player (3rd Strike and V), trying to learn Japanese.
Here's what I've written (so far):
Baeldung on Java
- All
- Spring Data (6)
- NoSQL (6)
- Testing (4)
- HTTP Client-Side (4)
- Spring Boot (3)
- Security (3)
- Java (3)
- Jackson (3)
- Spring Web (2)
- REST (2)
- Java IO (2)
- JPA (2)
- Core Java (2)
- Web Services (1)
- Spring WebFlux (1)
- Spring Persistence (1)
- Reactive (1)
- Persistence (1)
- Logging (1)
- Java Numbers (1)
- Java Map (1)
- Java Dates (1)
- Jakarta EE (1)
- JSON (1)
- Data (1)
- Architecture (1)
Count Documents Using Spring Data MongoDB Repository
Filed under Spring Data
Different ways of counting documents using Spring Data MongoDB.
Unique Field in MongoDB Document in Spring Data
Filed under NoSQL, Spring Data
Different ways to create unique fields via indexes with Spring Data.
MongoDB Composite Key With Spring Data
Filed under NoSQL, Spring Data
Simple and compound index, generated and custom ids in MongoDB exemplified by a Spring Data Mongo application.
Configure MongoDB Collection Name for a Class in Spring Data
Filed under NoSQL, Spring Data
Learn how to configure MongoDB collection names for classes using Spring Data.
Exception Handling With Jersey
Filed under REST
Explore many ways we can handle exceptions using Jersey.