Commit Graph

1034 Commits

Author SHA1 Message Date
Saikat Chakraborty 55639b0add Updated configs 2022-10-06 19:18:39 +05:30
Saikat Chakraborty 87c5981736 static import for mockito 2022-09-24 10:01:44 +05:30
Saikat Chakraborty 0844dcd3b7 Updated methods 2022-09-22 09:55:21 +05:30
Saikat Chakraborty 40013de660 Updated Employee 2022-09-21 22:53:50 +05:30
Saikat Chakraborty 98bc9c336b SSL in JPA App 2022-09-20 21:50:05 +05:30
Asjad J a537128503 Updated README.md
Moved 'UUID as Entity ID in MongoDB' from spring-data-mongodb to spring-data-mongodb-2
2022-09-04 06:03:02 +05:00
Asjad J a4af7a0512 Updated README.md
Moved 'UUID as Entity ID in MongoDB' from spring-data-mongodb to spring-data-mongodb-2
2022-09-04 06:02:04 +05:00
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
Asjad J 9d308ba331 Merge branch 'eugenp:master' into master 2022-08-25 22:06:22 +05:00
Asjad J a4116d2f9f Updated README.md
added link back to the article: https://www.baeldung.com/multitenancy-with-spring-data-jpa/
2022-08-25 21:42:38 +05:00
Haroon Khan 7f6b12abcb [JAVA-13976] Fix integration tests after Spring Boot upgrade to 2.7.2 (#12647) 2022-08-25 21:30:13 +05:30
Asjad J 84a5e7f58f Updated README.md
added a link back to the article: https://www.baeldung.com/fauna-spring-building-iot-applications
2022-08-25 18:32:51 +05:00
Asjad J eb6eba8575 Updated README.md
added link back to the article: https://www.baeldung.com/spring-jdbc-batch-inserts
2022-08-25 18:29:34 +05:00
Hamid Reza Sharifi 7af516d159 Bael 5407: Multitenancy with Spring Data JPA (#12507)
* BAEL-5407: add entity, repository, controller, main class

* BAEL-5407: add starter-web and postgres dependencies

* BAEL-5407: add sample script

* BAEL-5407: add tenant definition file

* BAEL-5407: add tenant filter

* BAEL-5407: add AbstractRoutingDataSource class

* BAEL-5407: add TenantContext class

* BAEL-5407: add MultitenantConfiguration class

* BAEL-5407: replace Object with String

* BAEL-5407: improve indentation

* BAEL-5407: remove printStackTrace()

* BAEL-5407: add security classes

* BAEL-5407: add security dependencies

* BAEL-5407: get Tenant from JWT token

* BAEL-5407: improve indent

* BAEL-5407: improve code quality

Co-authored-by: h_sharifi <h_sharifi@modernisc.com>
2022-08-23 22:33:31 +01: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
panos-kakos 520c7d7083 [JAVA-13944] Upgrade lombok dependency for main pom.xml + child modules (#12617)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-08-19 12:13:42 +05:30
Loredana Crusoveanu 7050d0a1e8 Merge pull request #12464 from jrelmar/spring-jdbc-batch
BAEL-5545: prepared a simple demo to benchmark spring jdbc batch inserts
2022-08-18 20:28:12 +03:00
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
anuragkumawat 8e74927325 JAVA-13132 Cleaned persistence-modules sub-modules poms (#12553)
* JAVA-13132 Cleaned persistence-modules sub-modules poms

* JAVA-13132 Moved testcontainers.version property up

* JAVA-13132 Update java-jpa-3 pom
2022-08-08 19:25:28 +05:30
Dhawal Kapil 0dc36fdb43 BAEL-5230 Added code and test for Fauna IoT application article (#12554)
* BAEL-5230 Added code and test for Fauna IoT application article

* BAEL-5230 Removed secrets from the codebase

* BAEL-5230 Removed spring-boot-configuration-processor
2022-08-04 21:29:43 +02:00
Loredana Crusoveanu 82603cfaf4 Merge pull request #12431 from samdalvai/fix-cassandra-naming
Fix naming of parameters in documentation
2022-08-03 21:31:14 +03:00
Elmar Mammadov e4c941c0dd BAEL-5545: fixed import organization 2022-07-30 14:30:07 +02:00
Elmar Mammadov 95211496d2 BAEL-5545: fixed import organization 2022-07-30 14:27:43 +02:00
Asjad J 065846c376 Updated README.md
Updated title from 'Hibernate's “Detached Entity Passed to Persist” Error' to 'Hibernate’s “Detached Entity Passed to Persist” Error'
2022-07-30 06:46:34 +05:00
kwoyke 9fa417faf5 Merge pull request #12537 from freelansam/JAVA-13134
JAVA-13134: Fix references to parents
2022-07-28 10:43:56 +02:00
Elmar Mammadov 5ea3e49db0 BAEL-5545: moved batch performance related classes into existing spring-jdbc module 2022-07-26 22:47:47 +02:00
sampadawagde 2268d19caa JAVA-13134: Fix references to parents 2022-07-26 20:01:43 +05:30
panagiotiskakos 324cb08a48 [JAVA-8691] 2022-07-26 08:14:19 +03:00
Haroon Khan 735f657223 [JAVA-13130] Logging cleanup 2022-07-22 16:07:17 +01: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
Asjad J 24e8e8f342 Updated README.md
added link back to the article: https://www.baeldung.com/mongodb-query-documents-id
2022-07-21 14:06:29 +05:00
Asjad J 318f2fc973 Updated README.md
added link back to the article: https://www.baeldung.com/spring-data-rest-serialize-entity-id
2022-07-21 13:59:02 +05:00
Elmar Mammadov bce765b959 BAEL-5545: fixed formatting issue 2022-07-20 20:47:28 +02:00
kwoyke 18f919bf30 Merge pull request #12496 from freelansam/JAVA-13136
JAVA-13136: Fix formatting of POMs
2022-07-15 17:07:52 +02:00
Yavuz Tas 2a30030555 BAEL-2729 code samples for the article (#12443)
* BAEL-2729 code samples for the article

* BAEL-2729 fix formatting issues.

Co-authored-by: Yavuz Tas <ytas@vwd.com>
2022-07-15 15:34:02 +02:00
kwoyke 33d3612c66 Merge pull request #12494 from hkhan/JAVA-13294-sync-code-with-article
[JAVA-13294] Add missing code for article
2022-07-15 09:08:31 +02:00
freelansam d7c38b05d6 Merge branch 'master' into JAVA-13136 2022-07-15 10:01:48 +05:30
sampadawagde 2b5179baba JAVA-13136: Fix formatting of POMs 2022-07-15 09:59:54 +05:30
Avin Buricha c252786fa9 Updated article code (#12493) 2022-07-14 20:38:20 +02:00
Haroon Khan 3fda2ec694 [JAVA-13294] Add missing code for article 2022-07-14 17:07:04 +01:00
Asjad J 495b9b1ccf Updated README.md
added link back to the article: https://www.baeldung.com/mongodb-java-date-operations
2022-07-14 08:09:34 +05:00
Elmar Mammadov e934c96f6d BAEL-5545: fixed timezone issue 2022-07-08 16:17:37 +02:00
Elmar Mammadov 0b5ffa01a7 BAEL-5545: fixed mockito mocking issue with Random class, added properties 2022-07-08 12:56:50 +02:00
Elmar Mammadov 551184076c BAEL-5545: fixed build issue for java 11 2022-07-08 02:24:58 +02:00
Elmar Mammadov b2ebd89c05 BAEL-5545: added unit test for ProductService 2022-07-08 02:11:40 +02:00
Elmar Mammadov eafb271394 BAEL-5545: prepared a simple demo to benchmark spring jdbc batch inserts 2022-07-08 01:35:31 +02:00
chrisjaimes b045e8309d BAEL-5363 Fixed pom files, assertions instead of console output, and fixed package folders (#12462)
Co-authored-by: Christian Jaimes <christian.jaimes@oracle>
2022-07-07 12:41:30 -04:00
chrisjaimes b094ba8098 BAEL-5363 Mongodb crud by date (#12293)
Created new mongo module, model, mongo client and unit test

Co-authored-by: Christian Jaimes <christian.jaimes@oracle>
Co-authored-by: bipster <openbip@gmail.com>
2022-07-06 23:57:53 -04:00