Commit Graph

21 Commits

Author SHA1 Message Date
timis1 bb9e5b65b4 JAVA-20165 Upgrade spring-boot hibernate specific modules to JDK 11 (#13952)
* JAVA-20165 Upgrade spring-boot hibernate specific modules to JDK 11

* JAVA-20165 Migrating spring-boot-persistence-mongodb

* JAVA-20165 Migrating spring-boot-persistence-mongodb-2

* JAVA-20165 Migrating spring-boot-persistence-mongodb-3

* JAVA-20165 Adding latest version for jdbi in spring-boot-persistence-2 module

---------

Co-authored-by: timis1 <noreplay@yahoo.com>
2023-05-12 19:14:03 +05:30
Ulisses Lima 548c69164f 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 e320b6dc21 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 f3ef5a257f 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 eebbdf82d9 fix: add embedded properties to tests (#12714) 2022-09-11 15:24:49 +05:30
lucaCambi77 8066e08c68 fix: exclude embedded autoconfig, remove unused boot class (#12707) 2022-09-10 23:31:00 +05:30
lucaCambi77 ce556996a0 [ 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 f8278e0f63 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 b9789c23f0 [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 e731fdd59a 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 8d894df26a 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 dc085496a4 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 2b5179baba JAVA-13136: Fix formatting of POMs 2022-07-15 09:59:54 +05:30
Asjad J a82a1b7f0a 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 e798355a92 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 115bb62d76 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 bb8a76cc97 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 e8de750d97 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 22f01e2188 isolating application repositories 2022-05-20 14:09:36 -03:00
Ulisses Lima 16bb4772ec moved code to spring-boot-persistence-mongodb-2 2022-05-16 23:24:46 -03:00
Haroon Khan 870dc43c9d [JAVA-11876] Split spring-boot-mongodb module 2022-05-12 18:59:40 +01:00