Commit Graph

20 Commits

Author SHA1 Message Date
Ulisses Lima
bb0a4a8fe1 bael-5848 - How to Insert a HashMap Into MongoDB With Java (#12938)
* bael-5848 - new module

* bael-5848 - tests
2022-11-05 19:04:21 +01:00
Asjad J
a71081b5da Updated README.md
added link back to the article: https://www.baeldung.com/mongodb-multiple-databases-spring-data
2022-09-17 05:53:03 +05:00
Ulisses Lima
3577acbabb BAEL-5666 - Create Date from Unix timestamp in Java (#12650)
* moving SpringBootPersistenceApplication class to its own package

* from com.baeldung to com.baeldung.logging to prevent it from loading
contexts from other applications.

* moving SpringBootPersistenceApplication class to its own package

* from com.baeldung to com.baeldung.logging to prevent it from loading
contexts from other applications.

* Spring Data MongoDB - Configure Connection

Ready for revision.

* fixed tests to reflect article changes

* BAEL-5657

* reverting BAEL-5657

* reverting BAEL-5657

* ready for review

* removing bael-5366

* removing bael-5366

* removing extra blank space

* bael-5666

editor review

* editor review

* long literals
* junit 5
* private constructor for utils

* junit5 assertThat
2022-09-16 22:31:27 +02:00
lucaCambi77
5d0f717337 fix: add embedded properties to tests (#12714) 2022-09-11 15:24:49 +05:30
lucaCambi77
900038700a fix: exclude embedded autoconfig, remove unused boot class (#12707) 2022-09-10 23:31:00 +05:30
lucaCambi77
ce2d27c6ca [ BAEL-5397 ] - Connect to Multiple Databases using Spring Data Mongodb (#12642)
* feat: multiple connections app, spring boot test, test resources

* rename to live test

* fix: build errors, clean code

* fix simplify test bootstratp

* fix: typo, rename account email to account domain

* fix: split db port

* fix: add boot config to test
2022-09-02 21:52:36 -05:00
Ulisses Lima
cee3fa07cb BAEL-5366 Spring Data MongoDB - Configure Connection (#12544)
* moving SpringBootPersistenceApplication class to its own package

* from com.baeldung to com.baeldung.logging to prevent it from loading
contexts from other applications.

* moving SpringBootPersistenceApplication class to its own package

* from com.baeldung to com.baeldung.logging to prevent it from loading
contexts from other applications.

* Spring Data MongoDB - Configure Connection

Ready for revision.

* fixed tests to reflect article changes

* BAEL-5657

* reverting BAEL-5657

* reverting BAEL-5657
2022-08-26 10:34:07 +02:00
Haroon Khan
bea0209f39 [JAVA-13976] Upgrade Spring Boot to 2.7.2 (#12603)
* [JAVA-13976] Upgrade Spring Boot to 2.7.2

* [JAVA-13976] Fix failing test due to incorrect Jackson version
2022-08-22 22:47:32 +05:30
Asjad J
a0e2862567 Updated README.md
added link back to the article: https://www.baeldung.com/spring-data-mongodb-connection
2022-08-17 16:24:19 +05:00
Ulisses Lima
4ea108e4c0 BAEL-5365 Count in Spring Data MongoDB Repository (#12481)
* BAEL-5370 - MongoDB Composite Key

First Draft.

* removing comments

* BAEL-5370

Test could fail if ran in a different order:
givenCompositeId_whenSearchingByIdObject_thenFound

* BAEL-5370

removing compound index related stuff

* removing first insert from assertThrows

* first draft

* removing Customer2

* first draft

* adjustments

* removed controlled
* fixed formatting on Car
2022-07-21 22:47:35 +02:00
Asjad J
0503a15fed Updated README.md
added link back to the article: https://www.baeldung.com/spring-data-mongodb-count
2022-07-21 14:14:58 +05:00
sampadawagde
b8205a7b5a JAVA-13136: Fix formatting of POMs 2022-07-15 09:59:54 +05:30
Asjad J
9b4263ffdb Updated README.md
added link back to the article: https://www.baeldung.com/spring-data-mongodb-unique
2022-06-27 15:04:15 +05:00
Ulisses Lima
a787ea354e BAEL-5394 - Unique Field in MongoDB Document in Spring Data (#12384)
* BAEL-5370 - MongoDB Composite Key

First Draft.

* removing comments

* BAEL-5370

Test could fail if ran in a different order:
givenCompositeId_whenSearchingByIdObject_thenFound

* BAEL-5370

removing compound index related stuff

* removing first insert from assertThrows

* first draft

* removing Customer2
2022-06-26 18:32:33 +02:00
Asjad J
a0dc4a7624 Updated README.md
added link back to the article: https://www.baeldung.com/spring-data-mongodb-composite-key
2022-06-21 11:24:38 +05:00
Ulisses Lima
9dd36a0c65 BAEL-5370 - MongoDB Composite Key (#12273)
* BAEL-5370 - MongoDB Composite Key

First Draft.

* removing comments

* BAEL-5370

Test could fail if ran in a different order:
givenCompositeId_whenSearchingByIdObject_thenFound

* BAEL-5370

removing compound index related stuff

* removing first insert from assertThrows
2022-06-18 09:49:40 +02:00
Asjad J
111d50bfb1 Updated README.md
added link back to the article: https://www.baeldung.com/spring-data-mongodb-collection-name
2022-05-23 17:12:20 +05:00
Ulisses Lima
82dc6e6c02 isolating application repositories 2022-05-20 14:09:36 -03:00
Ulisses Lima
8e7f705ee8 moved code to spring-boot-persistence-mongodb-2 2022-05-16 23:24:46 -03:00
Haroon Khan
dd3457a7e5 [JAVA-11876] Split spring-boot-mongodb module 2022-05-12 18:59:40 +01:00