Commit Graph

1155 Commits

Author SHA1 Message Date
Amit Kumatr bc446e25d4 removed unwanted code 2023-01-31 18:31:35 +05:30
Amit Kumatr 7be973e5aa rename the package 2023-01-31 18:30:43 +05:30
Amit Kumatr 83aae330ac added setup and teardown method 2023-01-27 00:54:56 +05:30
Amit Kumatr e04bb7bc91 added code of collections-vs-stream 2023-01-27 00:32:13 +05:30
edizor 7d124ccc18 Create README.md
[skip ci]
2023-01-26 16:23:28 +08:00
Kumar Prabhash Anand 63b714f00f BAEL-6073 added scylladb code (#13307)
* BAEL-6073 added scylladb code

* BAEL-6073 renamed test class name
2023-01-20 10:14:23 -08:00
edizor 05601ae0fe Update README.md
[skip ci]
2023-01-20 16:34:39 +08:00
edizor cf1f2e87c2 Merge branch 'eugenp:master' into master 2023-01-20 16:10:28 +08:00
anuragkumawat 845ed7690e JAVA-16308 Potential issue in Introduction to Spring Data Elasticsearch article (#13286)
* JAVA-16308 Potential issue in Introduction to Spring Data Elasticsearch article

* JAVA-16308 Update code as per Review Comments
2023-01-19 21:30:18 +05:30
Muhammad Asif caa663239f muasif80@gmail.com (#13262)
* BAEL-6063

* Updated the unit test class name

* Fixed the test

* Made updates to method names for tests and some refactor of code

* Updated the formatting using Baeldung formatter for Java

* Removed the space around = and made line continuations 2 spaces
2023-01-19 11:02:40 +05:30
edizor b81ae5b701 Update README.md
[skip ci]
2023-01-19 07:05:30 +08:00
Ulisses Lima 1f987c4bb3 BAEL-6046 - MongoDB - Field Level Encryption (#13266) 2023-01-13 08:53:50 +01:00
edizor f64bcee853 Update README.md
[skip ci]
2023-01-11 15:22:43 +08:00
edizor abb7b82e3e Update README.md
[skip ci]
2023-01-11 14:53:40 +08:00
doodoroma a23ccae5ac Merge pull request #13239 from Attila96/feature/flyway_out_of_order_migrations-bael-5795
Add Flyway out of order migration scripts
2023-01-10 19:51:08 +01:00
lucaCambi77 03778c8f21 fix: wrong model package name [ BAEL-5987 ] (#13268)
* feat: add jpa - spring data difference examples

* fix: remove _ from package name

* fix: model package name
2023-01-09 19:55:06 -06:00
anuragkumawat 1f360ea65d JAVA-16567 Potential issue in An Overview of Identifiers in Hibernate/JPA article (#13248) 2023-01-10 01:27:11 +05:30
Uhrin Attila ca9ab2e374 Add Flyway out of order migration scripts 2023-01-05 09:03:10 +01:00
lucaCambi77 f63772f5e4 [ BAEL-5987 ] - Difference Between JPA and Spring Data JPA (#13209)
* feat: add jpa - spring data difference examples

* fix: remove _ from package name
2023-01-04 21:34:13 -06:00
Kilian Schneider a26acf8a0c BAEL-6055 NonUniqueResultException in Spring Data JPA (#13173)
* BAEL-6055 NonUniqueResultException in Spring Data JPA

* update using AssertJ Exception

* Update persistence-modules/spring-data-jpa-query-3/src/test/java/com/baeldung/spring/data/jpa/query/nonuniqueresultexception/NonUniqueResultExceptionIntegrationTest.java

Co-authored-by: KevinGilmore <kpg102@gmail.com>

* Update persistence-modules/spring-data-jpa-query-3/src/test/java/com/baeldung/spring/data/jpa/query/nonuniqueresultexception/NonUniqueResultExceptionIntegrationTest.java

Co-authored-by: KevinGilmore <kpg102@gmail.com>

Co-authored-by: KevinGilmore <kpg102@gmail.com>
2022-12-30 11:03:21 -07:00
freelansam f5131d9ad0 JAVA-15822: Which sub-modules aren't being built (#13153)
* JAVA-15822: Which sub-modules aren't being built

* JAVA-15822: build error

* JAVA-15822: build error

* modified comment for gcp-firebase
2022-12-23 00:33:54 +05:30
anuragkumawat 0e5e21f2ae Java 15439 PR to check failing test for modules fixed till date (#13150)
* JAVA-15439 Upgrade h2 database version - libraries-testing and deltaspike modules

* JAVA-15439 Fix for hibernate-queries,  hibernate-5,  java-jpa-2,  java-jpa-3 modules

* JAVA-15439 Fix for java-jpa, spring-jpa, spring-jpa-2 modules

* JAVA-15439 Revert changes for java-jpa-2 module

* JAVA-15439 Fix for core-java-persistence-2 and hibernate-exceptions modules

* JAVA-15439 Modules hibernate-mapping-2, read-only-transactions, log4j2, spring-data-eclipselink
2022-12-20 23:17:29 +05:30
freelansam 456652e02b JAVA-16563: Fix formatting of POMs (#13175) 2022-12-20 22:37:54 +05:30
Azhwani 7a2d457f58 BAEL-6018: HibernateSystemException: ids for this class must be manually assigned before calling save() (#13121) 2022-12-16 08:49:28 +01:00
edizor 5728e8a71c Update README.md
[skip ci]
2022-12-15 15:44:39 +08:00
apeterlic 10d561451a BAEL-5986 - Getting Started with Blaze Persistence (#13107)
* BAEL-5986 - Getting Started with Blaze Persistence

* Optimize imports

* Fix test class name

* Switch to JUnit5

* Removed dependencies and Controller classes

* Update pom.xml

* Update Configuration class
2022-12-09 18:40:18 +01:00
kwoyke 85fded9b10 Merge pull request #13118 from freelansam/JAVA-16260
JAVA-16301: Check Article Code Matches GitHub
2022-12-07 20:59:38 +01:00
freelansam 998415cd47 JAVA-16301: Check Article Code Matches GitHub 2022-12-02 18:45:30 +05:30
anuragkumawat b0de3c6279 JAVA-15688 Update fauna module under persistence-modules to remove usage of deprecated WebSecurityConfigurerAdapter (#13054)
* JAVA-15688 Update fauna module under persistence-modules to remove usage of deprecated WebSecurityConfigurerAdapter

* JAVA-15688 Fix build issue
2022-11-23 23:44:35 +05:30
freelansam 5bfbf38f59 JAVA-15409: Fix formatting of POMs (#12992) 2022-11-18 00:26:06 +05:30
Loredana Crusoveanu a18c874bde Update README.md 2022-11-13 17:45:38 +02:00
edizor ce9a35fa5e Update README.md
[skip ci]
2022-11-11 09:44:56 +08:00
edizor 0783e9d778 Update README.md
[skip ci]
2022-11-11 09:13:18 +08:00
edizor 3bca0d46bf Update README.md
[skip ci]
2022-11-11 09:04:12 +08:00
Loredana Crusoveanu 665046d667 Merge pull request #12978 from collaboratewithakash/master
a few backlinks added
2022-11-07 09:49:22 +02:00
Loredana Crusoveanu d10c65f9b4 Merge pull request #12955 from dkapil/task/JAVA-15788
JAVA-15788 Optimizations to reduce default build execution time
2022-11-07 09:48:13 +02:00
Avin Buricha c57284d9c9 BAEL-5833 | Article code (#12919)
* BAEL-5833 | Article code

* Updated method name
2022-11-07 08:26:18 +05:30
panos-kakos 2495e6f101 [JAVA-15469] (#12979)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-11-06 22:43:51 +05:30
freelansam fffc0bc704 JAVA-15789: Fix references to parents (#12951)
* JAVA-15789: Fix references to parents

* Update pom.xml
2022-11-06 11:24:06 +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
collaboratewithakash 118a2033e9 Update README.md 2022-11-05 16:26:57 +05:30
lukaswlodkowski adbb7e27bc [BAEL-5355] removed final modifiers (#12964) 2022-11-05 09:01:14 +01:00
jsgrah-spring 89d01abd2d JAVA-14499. Revert code changes. 2022-11-03 21:01:55 +01:00
jsgrah-spring 703ebd3fd4 JAVA-14499. Revert code changes. 2022-11-03 20:58:17 +01:00
jsgrah-spring 8dec3a9e46 JAVA-14499. Comment out spring-data-gemfire and point to spring-data-geode for further reference. 2022-11-03 00:32:37 +01:00
jsgrah-spring 16cf170e17 JAVA-14499. Fix: Failed to read artifact descriptor for com.gemstone.gemfire:gemfire:jar:8.1.0: Could not transfer artifact com.gemstone.gemfire:gemfire:pom:8.1.0 from/to gemstone. 2022-11-01 14:05:34 +01:00
lukaswlodkowski 59b58d087d [BAEL-5355] code snippets for article - lukaswlodkowski (#12954)
* [BAEL-5355] code snippets for article

* [BAEL-5355] fix tests naming convention

* [BAEL-5355] try different Mongo configuration, previous one failed on Jenkins.

* [BAEL-5355] try different Mongo configuration, previous one failed on Jenkins.

* [BAEL-5355] try different Mongo configuration, previous one failed on Jenkins.
2022-10-31 20:04:31 +01:00
Dhawal Kapil 69d6ca9b62 JAVA-15788 Optimizations to reduce default build execution time 2022-10-31 01:42:11 +05:30
panos-kakos 1fcd1f3acc Java 13966 - Fix integration tests (#12900)
* [JAVA-13966] Fixed test with MODE=LEGACY property

* [JAVA-13966] Reverted h2.version to 1.4.200

* [JAVA-13966] Removed MODE=LEGACY property

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-10-29 22:04:46 +05:30
panos-kakos 50a57f06ca [JAVA-15470] Fixed issues on properties file (#12945)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-10-29 22:00:29 +05:30
edizor 56778d9383 Update README.md 2022-10-26 22:38:39 +08:00
Loredana Crusoveanu 379537b930 Merge pull request #12746 from saikatcse03/master
Enable SSL in Spring Boot with MySQL
2022-10-25 11:53:10 +03:00
panos-kakos eb17d0e2ed [JAVA-13966] Upgraded h2 database to 2.1.214 + clean up (#12711)
* [JAVA-13966] Upgraded h2 database to 2.1.214

* [JAVA-13966] fixed tests for libraries-apache-commons

* [JAVA-13966] fixed tests

* [JAVA-13966] fixed tests

* [JAVA-13966] fixed tests JAVA-JPA MODULE

* [JAVA-13966] Made ninja submodule part of web-modules(parent)

* [JAVA-13966] Fixed naming convention for pmd

* [JAVA-13966] Moved tests of ninja-module to ManualTest category

* [JAVA-13966] Fix tests

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-10-20 00:17:05 +05:30
Saikat Chakraborty 3269737c6c Updated docker compose yaml indentation 2022-10-17 21:31:46 +05:30
edizor 94dc7a63fa Update README.md 2022-10-16 10:50:22 +08:00
Azhwani c68ee78e45 BAEL-5697: Add new section in Hibernate Exceptions article (#12797) 2022-10-09 21:18:50 +02:00
emanueltrandafir1993 a8c1723773 BAEL-5736: added new module and code snippets 2022-10-06 22:17:30 +02:00
Saikat Chakraborty 55639b0add Updated configs 2022-10-06 19:18:39 +05:30
Asjad J d5ef43a328 Updated README.md
added link back to the article: https://www.baeldung.com/java-mongodb-document-insert-array
2022-10-05 15:28:02 +05:00
Avin Buricha ac868ffba1 Article code (#12715) 2022-10-03 18:01:49 +01:00
Asjad J ef32f3e6d1 Updated README.md
added link back to the article: https://www.baeldung.com/microstream-intro
2022-09-30 17:00:38 +05:00
Loredana Crusoveanu 21ea0eb611 Merge pull request #12752 from jsgrah-spring/master
JAVA-13403. Upgrade the maven-pmd-plugin from the main pom to the lat…
2022-09-26 18:18:52 +03:00
Saikat Chakraborty 87c5981736 static import for mockito 2022-09-24 10:01:44 +05:30
jsgrah-spring 2cdf589d10 JAVA-13403. Upgrade the maven-pmd-plugin from the main pom to the latest version 3.19.0 and remove any overridden versions for this plugin from the repo. 2022-09-23 13:19:54 +02:00
collaboratewithakash 9dea75d8a1 Update README.md 2022-09-23 16:07:05 +05:30
collaboratewithakash 12d78e5aac Update README.md 2022-09-23 15:24:33 +05:30
collaboratewithakash e25a3150ef Update README.md 2022-09-23 15:02:54 +05:30
Daniel Strmecki 8993a3064b Feature/bael 5653 microstream (#12660)
* BAEL-5653: Microstream storage

* BAEL-5653: Eager loading

* BAEL-5653: Lazy loading

* BAEL-5653: Temp dir

* BAEL-5653: Refactoring

* BAEL-5653: Refactoring

* BAEL-5653: Refactoring

* BAEL-5653: PR comments
2022-09-22 18:53:16 +01:00
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 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
freelansam dc1815c10c JAVA-14673 - Fix formatting of POMs (#12722)
* JAVA-14673 - Fix formatting of POMs

* cleanup
2022-09-13 21:22:49 +05:30
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
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