Commit Graph

1470 Commits

Author SHA1 Message Date
uzma 555662907a [BAEL-6105] code for list to page article 2023-05-05 11:07:33 +01:00
3hsan 2e41874a5c JAVA-16946: comment spring-jooq module from persistence-modules. (#13951) 2023-05-05 11:47:57 +03:00
uzma 3e04f00895 [BAEL-6105] code for correct use of flush 2023-05-04 17:46:56 +01:00
emanuel.trandafir 7be3725480 BAEL-6320: added code support for the @NaturalId article 2023-05-04 18:04:15 +02:00
Azhwani 8d0158aa5b BAEL-6326: Spring Boot H2 JdbcSQLSyntaxErrorException expected identifier (#13843) 2023-05-04 08:09:02 +02:00
Kingsley✨ 183761cb3f Merge branch 'eugenp:master' into master 2023-04-30 21:28:54 +05:30
Kingsley Amankwah 4e7d1ffd1f Comments removed 2023-04-30 15:58:54 +05:30
Kingsley Amankwah d650f7ace7 getters and setters removed from code 2023-04-30 15:53:49 +05:30
mariudotsh 141df4e0ff BAEL-6319 Hibernate 6 Boolean Converters (#13894)
Co-authored-by: Mariusz Kaczmarczyk <to@mariu.sh>
2023-04-30 08:04:19 +05:30
Kingsley Amankwah 1767ea3cdc Hibernate Associations 2023-04-27 05:10:50 +05:30
Kingsley Amankwah 82f9d6a500 Hibernate Associations 2023-04-27 05:00:38 +05:30
Kilian Schneider 6cc24e0759 BAEL-6348 persist List<String> in JPA (#13897)
* BAEL-6348 persist List<String> in JPA

* Update naming
2023-04-25 17:55:11 -07:00
Kingsley✨ f22e99f4a7 Merge branch 'eugenp:master' into master 2023-04-24 05:25:30 +00:00
timis1 9a47717d43 JAVA-20464 Fix failing tests in hibernate-exceptions module (#13885)
* JAVA-20464 Fix failing tests in hibernate-exceptions module

* JAVA-20464 Fix failing tests in hibernate-jpa module

---------

Co-authored-by: timis1 <noreplay@yahoo.com>
2023-04-22 22:11:21 +05:30
Kingsley Amankwah 00028b8b19 JPA/Hibernate Associations 2023-04-21 04:48:52 +05:30
Mikhail Polivakha 4b540d1f0a misha2048 Generate uuids with hibernate (#13785)
* misha2048 Retrying Requests using Apache HttpClient

* Generate UUIDs with Hibernate misha2048

* BAEL-6321 change target module after review

---------

Co-authored-by: Mihail Polivaha <68962645+Mihail2048@users.noreply.github.com>
2023-04-20 20:00:56 +05:30
Dhawal Kapil db4e6d5e47 JAVA-19718 Minor corrections and fixes (#13865) 2023-04-19 23:28:25 +05:30
Bipin kumar 1137565f01 JAVA-19787 : Adding example for h2 default sql schema and data initialization (#13863) 2023-04-19 20:25:45 +05:30
Grzegorz Musiał c20e6760b7 BAEL-5549: chore: Make the test manual since it requires testcontainers (#13804)
* BAEL-5549: chore: Make the test manual since it requires testcontainers

* BAEL-5549: doc: add run instructions
2023-04-12 09:33:46 +05:30
edizor 50fa309372 Update README.md
[skip ci]
2023-04-08 00:11:38 +08:00
edizor 356e748701 Update README.md
[skip ci]
2023-04-08 00:03:46 +08:00
timis1 84a3a42fd0 JAVA-18167 Upgrade persistence-modules to JDK 11 (#13714)
* JAVA-18167 Upgrade persistence-modules to JDK 11 (activejdbc and core-java-persistence)

* JAVA-16167 Update pom.xml to include just the updated modules

* JAVA-18167 Added vaadin because it looks that I removed

* JAVA-18167 Migration deltaspike

* JAVA-18167 Migration hbase module

* JAVA-18167 Migration hibernate-mapping-2

* JAVA-18167 Migration hibernate-exceptions

* JAVA-18167 Migration hibernate-jpa module

* JAVA-18167 Migration hibernate-jpa change the name of User entity

* JAVA-18167 Overwriting the version of slf4j and logback for hibernate-jpa

* JAVA-18167 Migrate deltaspike back to jdk8

* JAVA-18167 Remove some modules that was added elsewhere

* Revert "JAVA-18167 Migration deltaspike"

This reverts commit 874b4ba2

* JAVA-18167 Comment failed module (it will be migrated later)

---------

Co-authored-by: timis1 <noreplay@yahoo.com>
2023-04-07 07:23:12 +05:30
Bipin kumar 9f179d687e Dev 19389 (#13745)
* Java-19389 : commits made for adding two new test cases for UUID use:

* Java-19389 : commits made for adding two new test cases for UUID use:

* JAVA-19389: Changes made for incorporating review comments
2023-04-05 21:58:06 +05:30
mariudotsh e9a2b58924 BAEL-5985 Hibernate @CreationTimestamp and @UpdateTimestamp (#13690)
* BAEL-5985 Hibernate @CreationTimestamp and @UpdateTimestamp

* BAEL-5985 Remove unnecessary imports

* BAEL-5985 Swap order in assertEquals

---------

Co-authored-by: Mariusz Kaczmarczyk <to@mariu.sh>
2023-04-04 09:54:37 +02:00
anuragkumawat cf53d94739 JAVA-19549 Move A Spring Custom Annotation for a Better DAO article from spring-core-3 module to spring-data-jpa-annotations module (#13748) 2023-04-03 21:11:26 +05:30
Bipin kumar 8e4f8366d2 JAVA-19726: Changes made for cleaning code (#13763)
* JAVA-19726: Changes made for cleaning code

* JAVA-19726: Changes made for cleaning code

* JAVA-19726: Changes made for cleaning code
2023-04-03 19:54:23 +05:30
Chris 7e318cbd44 Prevent NPE when trying to create a deep copy (#13513) 2023-04-03 12:29:45 +05:30
edizor f63cc893c3 Update README.md
[skip ci]
2023-03-30 22:05:34 +08:00
Balamurugan 99d11182ab BAEL-5988: Added properties for fixing failing tests for R2DBCExampleApplicationIntegrationTest (#13738) 2023-03-29 23:15:36 -06:00
apeterlic b2f92bce02 BAEL-6189 - Remove Entity with ManyToMany Relationship in JPA (#13634)
* BAEL-6189 - Remove Entity with ManyToMany Relationship in JPA

* Add property source
2023-03-25 17:43:25 +01:00
ukhan1980 ae6493b568 [BAEL-6041] add code for cascading delete (#13699)
Co-authored-by: uzma <u.khan@proxymity.io>
2023-03-24 10:22:32 -07:00
edizor f957425045 Update README.md
[skip ci]
2023-03-24 16:43:59 +08:00
edizor dc6cedd9b6 Update README.md
[skip ci]
2023-03-24 16:37:16 +08:00
Balamurugan b1162d37b9 BAEL-5988: Added code for Spring R2DBC flyway migration with tests (#13551)
* BAEL-5988: Added code for Spring R2DBC flyway migration with tests

* BAEL-5988: Removed unnecessary logging config

* BAEL-5988: Addressed review comments

* BAEL-5988: Removed bean loading override config for test

* BAEL-5988: Removed unnecessary import

* BAEL-5988: Added properties for versions in pom

---------

Co-authored-by: Bala <balamurugan.radhakrishnan@yapily.com>
Co-authored-by: balasr3 <balamurugan.radhakrishnan@imgarena.com>
2023-03-22 19:13:31 -06:00
Eugen b2accf8773 Merge pull request #13675 from edizor/master
Update README
2023-03-21 21:17:45 +02:00
Harry9656 e30dc4dbc3 [JAVA-6232]: Introduction to QuestDB (#13542)
* [JAVA-6232]: Introduction to QuestDB

* [FIX] Add questdb version as property

* JAVA-6232: Change parent folder
2023-03-21 07:40:18 +01:00
edizor b16e7bfc2a Merge branch 'eugenp:master' into master 2023-03-19 02:04:52 +08:00
Anastasios Ioannidis 1afb78dde1 JAVA-17609 Spring-data-rest SQLite upgrade to Spring-Boot-3 (#13559) 2023-03-17 20:20:59 +05:30
edizor cdd1d8b942 Update README.md
[skip ci]
2023-03-17 00:45:39 +08:00
edizor 19546f4d31 Update README.md
[skip ci]
2023-03-17 00:41:38 +08:00
Abhinav Pandey 8469deeb56 Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-6128 2023-03-12 11:43:55 +05:30
Abhinav Pandey 5a29982862 BAEL-6128 - moving to jdk9 profile 2023-03-12 11:42:05 +05:30
Mateusz Szablak c119a05849 BAEL-6004 TRUNCATE table in Spring Data JPA (#13554) 2023-03-08 15:43:16 +01:00
Abhinav Pandey 048588aa65 BAEL-6128 - Adding module name to parent module 2023-03-07 22:00:37 +05:30
Ulisses Lima f70c91c43f removing extra 'jdbc:' 2023-03-07 12:20:41 -03:00
Avin Buricha 68c8aa2bb1 Article code (#13567) 2023-03-04 22:23:20 +01:00
timis1 b161aeec27 JAVA-18264 Update article "A Guide to MongoDB with Java" (#13466)
* JAVA-18264 Update article "A Guide to MongoDB with Java"

* JAVA-18264 Update with suggestion

* JAVA-18264 Additional updates

* JAVA-18264 Format pom.xml

---------

Co-authored-by: timis1 <noreplay@yahoo.com>
2023-02-27 16:08:14 +05:30
Abhinav Pandey 772a1ac80e BAEL-6128 - New interfaces in Spring Data 3 2023-02-26 10:27:44 +05:30
edizor c2c2a22d09 Update README.md
[skip ci]
2023-02-24 19:30:32 +08:00
edizor c63b57c6b3 Update README.md
[skip ci]
2023-02-24 19:28:19 +08:00
edizor 72eeac46fe Create README.md
[skip ci]
2023-02-24 19:20:13 +08:00
Grzegorz Musiał a3f2e96feb BAEL-5549: feat: Hibernate Keywords - using keywords as table column names (#13355)
* BAEL-5549: feat: Hibernate Keywords - using keywords as table column names

* BAEL-5549: feat: Hibernate Keywords - using keywords as table column names

* BAEL-5549: feat: Hibernate Keywords - using keywords as table column names

* BAEL-5549: fix: Hibernate Keywords - alter the "where" value to make sure it is obvious that it is not the value but the @Column that is causing the error.

* BAEL-5549: doc: Hibernate Keywords - revert README changes
2023-02-21 07:10:59 +05:30
Abhinav Pandey 639de9687e BAEL-4971 - Object mapping with Cassandra (#13427)
* BAEL-4971 - Object mapping with Cassandra

* BAEL-4971 - Object mapping with Cassandra

* BAEL-4971 - Object mapping with Cassandra - changing test name

* BAEL-4971 - Object mapping with Cassandra - code formatting

* BAEL-4971 - Object mapping with Cassandra - review incorporation
2023-02-20 08:22:52 +00:00
Ulisses Lima 749a077478 BAEL-6046 - MongoDB - Field Level Encryption (#13494) 2023-02-18 14:27:12 +01:00
edizor d588f4e001 Update README.md
[skip ci]
2023-02-17 18:57:00 +08:00
edizor 65d3062872 Update README.md
[skip ci]
2023-02-17 17:22:14 +08:00
edizor f878ccc38f Update README.md
[skip ci]
2023-02-17 17:10:23 +08:00
Ulisses Lima fc9a23a02a BAEL-6046 - MongoDB - Field Level Encryption (#13440)
* bael-6046 - first draft

* review 1

* review 2

* null checks and lambda
2023-02-15 21:52:25 +01:00
Graham Cox 7cacb73389 BAEL-6210: Examples for RethinkDB article (#13481) 2023-02-15 08:16:43 +01:00
davidmartinezbarua cde92e09f9 Merge pull request #13353 from amit88265/collections-vs-stream
BAEL-5953 - Added code of collections-vs-stream
2023-02-14 11:28:33 -03:00
Amit Kumatr 792bda644d renamed the Test class 2023-02-12 13:30:21 +05:30
Azhwani db4f473262 BAEL-5742: Fix EmptyResultDataAccessException when using Jdbctemplate (#13338) 2023-02-09 19:10:51 +01:00
Pedro Lopes bfb2b1b9f4 BAEL-6119: Difference Between findBy and findAllBy in Spring Data JPA (#13344)
* player entity and repository. test structure

* moving modules

* test findFirst. cleanups.

* adding @Repository

* player entity and repository. test structure

* moving modules

* test findFirst. cleanups.

* adding @Repository

* changing module

* adding show-sql config

* removing unrelated change

* properties SB annotation
2023-02-08 21:58:28 -07:00
Loredana Crusoveanu be4a0dedf7 update tests to use junit5, mark live test 2023-02-02 11:01:37 +02:00
Amit Kumatr 91c73a097e removed transactional annotation 2023-02-01 02:06:26 +05:30
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
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
Avin Buricha 9b4afd4ea3 BAEL-5361 | Article code (#12455) 2022-07-06 19:13:32 +02:00
Asjad J 76fda12954 Updated README.md
added link back to the article: https://www.baeldung.com/java-mongodb-uuid
2022-07-05 15:47:57 +05:00
Greg Martin 8f07f96470 Merge pull request #12422 from sebx59/master
BAEL-5404 - UUID as Entity ID in MongoDB
2022-07-02 18:08:03 -04:00
samdalvai fe08da3851 Fix naming of parameters in documentation 2022-06-30 23:28:16 +02:00
HARDEMAN Sebastien 1d196d2720 remove files in order to move them in spring-data-mongodb-2 2022-06-27 15:40:42 +02:00
HARDEMAN Sebastien 073a07f4ca BAEL-5404 - UUID as Entity ID in MongoDB
Commit to spring-data-mongodb-2
2022-06-27 15:32:38 +02:00
sebx59 02e904b225 Merge branch 'eugenp:master' into master 2022-06-27 15:09:27 +02:00
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
Asjad J 44629d87e0 Created README.md
added link back to the article: https://www.baeldung.com/mongodb-find
2022-06-27 14:59:15 +05:00
Asjad J fabe15ba74 Updated README.md
added link back to the article: https://www.baeldung.com/hibernate-detached-entity-passed-to-persist
2022-06-27 14:53:32 +05:00
etrandafir93 ff3cc7b948 BAEL-5439: PersistentObjectException: detached entity passed to persist thrown by JPA and Hibernate (#12303)
* BAEL-5439: added code samples for article

* BAEL-5439: added static import for assertj
2022-06-26 18:33:25 +02: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
Avin Buricha 413ee370c2 BAEL-5368 Guide to Find in MongoDB (#12361)
* BAEL-5368 | Article code

* BAEL-5368 | Package renamed
2022-06-26 11:28:47 -05: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
lucaCambi77 405578bfb5 fix: remove projection from old module (#12358) 2022-06-15 15:17:18 -05:00
lucaCambi77 2095898305 BAEL-5400 - add spring-data-mongodb-2 module (#12340)
* fix: add spring-data-mongodb-2 module

* fix: missing module in parent pom
2022-06-14 20:24:37 -05:00
HARDEMAN Sebastien 4b992c4763 Update UuidIdentifiedEntity.java 2022-06-07 13:35:01 +02:00
HARDEMAN Sebastien b97f548bb5 Merge branch 'master' of https://github.com/sebx59/tutorials 2022-06-07 12:00:59 +02:00
HARDEMAN Sebastien f77b93b7a4 BAEL-5404 - UUID as Entity ID in MongoDB
Initial commit
2022-06-07 11:57:29 +02:00
anuragkumawat 8813f1c809 JAVA-11558 Update article - Hibernate 5 Naming Strategy Configuration 2022-06-06 22:07:37 +05:30
keerthigadde 863356b4bc JAVA-9556 added try-with-resources for resultset 2022-05-26 15:38:47 +10:00
Asjad J 10bc54e7d6 Updated README.md
added link back to the article: https://www.baeldung.com/spring-transactions-read-only
2022-05-23 17:35:17 +05: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
Asjad J 14f0910339 Updated README.md
added link back to the article: https://www.baeldung.com/spring-jpa-joining-tables
2022-05-23 16:48:34 +05:00
Asjad J 37fe7442f8 Updated README.md
added link back to the article: https://www.baeldung.com/java-jdbc-convert-resultset-to-json
2022-05-23 16:30:02 +05:00
kwoyke 323c3b5bcb Merge pull request #12246 from hkhan/JAVA-12011-review-commented-modules
[JAVA-12011] Remove redundant comments from pom files
2022-05-23 08:52:34 +02:00
kwoyke a08700d5d4 Merge pull request #12243 from hkhan/JAVA-11892-logs-cleanup
[JAVA-11892] Logging  clean up
2022-05-23 08:50:10 +02:00
Thiago dos Santos Hora ac5dbbc5da [BAEL-4120] Read-only transactions samples (#11841)
* [BAEL-4120] Read-only transactions samples

* Extract query runner jobs logic

* Apply test name standards

* Fix code standards

* Use pom properties to define versions

* Rename main package

* Rename generics

* Code clean up

* Code clean up on lambdas

* Add debug logs

* Fix format issues

* Rename entity
2022-05-23 08:09:09 +02:00
Haroon Khan 5ab2b9b8e4 [JAVA-12011] Remove redundant comments from pom files 2022-05-22 11:44:39 +01:00
Haroon Khan 1efe19f383 [JAVA-11892] Logging clean up 2022-05-21 21:29:02 +01: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
Ulisses Lima 18237d2097 removing from the old module 2022-05-16 23:23:26 -03:00
Ulisses Lima 5c299c2e54 Merge branch 'eugenp:master' into master 2022-05-16 21:23:05 -03:00
Alireza Ghasemi 365f029e3a Add tutorial files for ResultSet2JSON Article (#11912)
* Add tutorial files

* Move script to new folder

* Use Maven/H2 instead of JBang/DuckDB

* Use Java 8

* Usen an older versio of JOOQ

* Format according to Beldung Intellij guide

* Remove dangling commit

* Use 2-space indentation

* Apply formatting from Eclipse

* Add unit test

* Add assertion

* Change test names

* Change method names

Co-authored-by: root <root@localhost.localdomain>
Co-authored-by: Alireza Ghasemi <alireza.ghasemi1@swisscom.com>
2022-05-16 21:04:55 +05:30
etrandafir93 93b3264964 BAEL-5547: added code for specifications join (#12212)
* BAEL-5547: added code for specifications join

* BAEL-5547: renamed test class and formatted the code
2022-05-15 07:35:01 -07:00
Haroon Khan 870dc43c9d [JAVA-11876] Split spring-boot-mongodb module 2022-05-12 18:59:40 +01:00
kwoyke 723069e599 Merge pull request #12186 from panos-kakos/JAVA-10597
[JAVA-10597] Increased JOOQ version
2022-05-11 12:43:56 +02:00
kwoyke 698a7f2b3c Merge pull request #12191 from anuragkumawat/JAVA-11367
JAVA-11367 Update article - Setting the MySQL JDBC Timezone
2022-05-11 12:35:01 +02:00
panagiotiskakos 635f834aea [JAVA-10597] Reverted + Enhanced test cases 2022-05-10 10:45:49 +03:00
Asjad J b05960761d Updated README.md
added link back to the article: https://www.baeldung.com/jpql-hql-criteria-query
2022-05-10 06:49:43 +05:00
Asjad J 3ba1e439cf Updated README.md
added link back to the article: https://www.baeldung.com/jpql-hql-criteria-query
2022-05-10 06:49:34 +05:00
Mayank Aggarwal 81b9558342 BAEL-5558: Sorting By Date in Java (#12132)
* [BAEL-5438] Added Criteria Queries for Employee

* [BAEL-5558] Sorting By Date in Java

* BAEL-5558: Added and refactored tests name

* [BAEL-5558] Refactored the code.

* [BAEL-5558] Resolved PMD violation.

Co-authored-by: Mayank Agarwal <mayankaggarwal@zeta.tech>
2022-05-09 12:04:56 -07:00
anuragkumawat 78807f6d1a JAVA-11367 Update article - Setting the MySQL JDBC Timezone 2022-05-09 20:56:15 +05:30
kwoyke 7c2845bc79 Merge pull request #12185 from freelansam/JAVA-11792
JAVA-11792: Fix formatting of POMs
2022-05-09 11:04:26 +02:00
panagiotiskakos 22d59b0193 [JAVA-10597] Increased JOOQ version 2022-05-09 09:45:22 +03:00
sampadawagde aed8f9100b JAVA-11792: Fix formatting of POMs 2022-05-08 16:36:25 +05:30
Ulisses Lima c69f4d207f BAEL-5396 - Configure MongoDB Collection Name for a Class in Spring Data
First Draft.
2022-05-07 17:24:56 -03:00
Mayank Aggarwal 1ce8895891 Bael 5438 (#12176)
* [BAEL-5438] Added Criteria Queries for Employee

* [BAEL-5438] Added tests and entities for named queries and criteria queries

* [BAEL-5438] Removed unused sorting files

* [BAEL-5438] Ignored spring context test

* BAEL-5438 Indented with 4 spaces

Co-authored-by: Mayank Agarwal <mayankaggarwal@zeta.tech>
2022-05-07 14:22:36 +02:00
Loredana Crusoveanu cd49cc0640 Merge pull request #12175 from johnA1331/master
BAEL-53616 - Main - github-related test fixes - 03.05.2022
2022-05-07 10:03:18 +03:00
johnA1331 56f41f1485 Update README.md 2022-05-05 22:59:48 +08:00
johnA1331 d953a9f517 Update README.md 2022-05-05 20:49:20 +08:00
kwoyke 2318e416a6 Merge pull request #12163 from panos-kakos/java-9576
JAVA-9576
2022-05-05 14:01:18 +02:00
Haroon Khan b03e1b3216 [JAVA-11332] Upgrade H2 version and fix tests (#12056)
* [JAVA-11332] Upgrade H2 version and fix tests

* [JAVA-11332] Revert formatting changes

* [JAVA-11332] Remove config files and code clean up
2022-05-04 22:45:23 +05:30
Krzysiek 6805cd573e JAVA-11853: Fix jandex dependency issue 2022-05-04 12:30:35 +02:00
Krzysiek 8a8408e91a Disable failing modules 2022-05-04 09:28:41 +02:00
panagiotiskakos b5cfb729e7 Changed properties to oracleucp from ucp 2022-05-03 17:02:25 +03:00
panagiotiskakos 511416d22b Changed properties to oracleucp from ucp 2022-05-03 16:23:08 +03:00
lucaCambi77 31a903b552 fix: move to spring-data-mongodb (#12089) 2022-04-28 18:20:55 -05:00
Mayank Aggarwal 7fb15d26dd [BAEL-5438] Added Criteria Queries & Hibernate Queries (#12127)
* [BAEL-5438] Added Criteria Queries for Employee

* [BAEL-5438] Added tests and entities for named queries and criteria queries

* [BAEL-5438] Removed unused sorting files

* [BAEL-5438] Ignored spring context test

Co-authored-by: Mayank Agarwal <mayankaggarwal@zeta.tech>
2022-04-28 10:26:16 +02:00
johnA1331 94d3b980dc Update README.md 2022-04-27 16:40:19 +08:00
anuragkumawat 4553469318 JAVA-11535 Move spring-data related modules to persistence-modules (#12126) 2022-04-26 19:28:06 +05:30
anuragkumawat 3800a6a858 JAVA-9610 Verify Stored Procedures with Hibernate 2022-04-19 23:08:18 +05:30
Kapil Khandelwal 09d6595514 Bael 5369 new (#12073)
* BAEL-5369: Checking Connection to MongoDB

* BAEL-5369:- Minor Fix Checking Connection to MongoDB
2022-04-18 16:35:55 -07:00
Asjad J c26826c700 Updated README.md
added link back to the article: https://www.baeldung.com/hibernate-not-null-error
2022-04-18 17:11:30 +05:00
etrandafir93 49b6155952 BAEL-5440: hql distinct queries (#12007)
* BAEL-5440: hql distinct queries

* BAEL-5440: formated the code and renamed test class
2022-04-17 14:23:51 +02:00
davidmartinezbarua 2d672af774 Merge pull request #12037 from etrandafir93/BAEL-4942-hibernate_nullability_check
BAEL-4942: added tests for hibernate nullability check
2022-04-16 12:30:03 -03:00
Haroon Khan 0c480dbeed [JAVA-11252] Fix Mongodb live test 2022-04-14 21:10:20 +01:00
Asjad J 1e519eb47e Updated README.md
added link back to the article: https://www.baeldung.com/java-hql-distinct
2022-04-13 09:53:15 +05:00
Asjad J 9f8d01175b Updated README.md
added link back to the article: https://www.baeldung.com/mongodb-return-specific-fields
2022-04-13 09:50:50 +05:00
Kapil Khandelwal 2c72a1e42c BAEL-5369: Checking Connection to MongoDB (#12057) 2022-04-12 17:26:26 -07:00
Haroon Khan 4ad546c702 [JAVA-11226] Fix and update Hibernate OneToMany code (#12031) 2022-04-11 20:25:30 +05:30
lucaCambi77 d0e3eebb12 BAEL-5400 - Return Only Specific Fields for a Query in Spring Data MongoDB (#11991)
* feat: field projection spring data mongodb

* fix: use available ports

* fix: typo

* fix: add abstraction

* fix: avoid blank lines
2022-04-10 09:19:13 -05:00
emanueltrandafir1993 de994fdabd BAEL-4942: added tests for hibernate nullability check 2022-04-09 14:36:40 +03:00
johnA1331 21b37a4346 Update README.md 2022-04-06 00:16:19 +08:00
johnA1331 eaf16d4e99 Update README.md 2022-04-05 22:55:00 +08:00
Asjad J 6e9cbd29d3 Updated README.md
Added link back to the article: https://www.baeldung.com/mongodb-get-value-by-key-name
2022-04-05 08:52:44 +05:00
kwoyke 81d49cdfd2 Merge pull request #12006 from hkhan/JAVA-11186-split-mongodb-module
[JAVA-11186] Split java-mongodb module
2022-04-04 19:07:26 +02:00
kwoyke ec1c82abb5 Merge pull request #12018 from hkhan/JAVA-10626-move-jta-module
[JAVA-10626] Move jta module to spring-persistence
2022-04-04 12:56:14 +02:00
Haroon Khan 5580ebcd98 [JAVA-10626] Move jta module to spring-persistence 2022-04-03 23:12:29 +01:00
Kapil Khandelwal 007271ec3b BAEL-5357: Retrieve a Value from MongoDB by Its Key Name (#12005) 2022-04-01 14:31:23 -07:00
Haroon Khan 113d4f1824 [JAVA-11186] Split java-mongodb module 2022-04-01 22:26:34 +01:00
johnA1331 202c6e3fad Update README.md 2022-03-31 13:55:31 +08:00
johnA1331 614002bebf Update README.md 2022-03-31 13:54:28 +08:00
johnA1331 871d806242 Update README.md 2022-03-31 13:51:11 +08:00
johnA1331 5b7362578e Update README.md 2022-03-31 13:41:58 +08:00
johnA1331 3a271415eb Update README.md 2022-03-31 13:39:46 +08:00
kwoyke e5272e09ad Merge pull request #11980 from anuragkumawat/master
JAVA-10082 Create new module hibernate-annotations-2 from spring-hibernate-5 module
2022-03-28 21:00:45 +02:00
lucaCambi77 f27e8e8dd9 [ BAEL-5405 ] Logging MongoDB Queries with Spring Boot (#11952)
* feat: spring data mongodb logging

* fix: PMD

* fix: typo

* fix: move to main logging

* fix: add manual config
2022-03-27 20:06:14 -05:00
anuragkumawat a410e2e4a6 JAVA-10082 Removing unused property 2022-03-26 14:59:41 +05:30
anuragkumawat e57b05c025 JAVA-10082 Create new module hibernate-annotations-2 from spring-hibernate-5 module 2022-03-26 14:52:38 +05:30
Kapil Khandelwal b541fce0a5 BAEL-5372: A Guide to Upsert in MongoDB (#11974) 2022-03-24 15:57:57 -07:00
Kapil Khandelwal ffe4390ed8 BAEL-5398: Bulk Update of Documents in MongoDB with Java (#11963) 2022-03-23 14:10:32 -07:00
Loredana Crusoveanu 87ae31b74b Merge pull request #11967 from johnA1331/master
BAEL-50999 - add links to github-baeldung articles - Week 12 - 2022
2022-03-23 21:36:19 +02:00
doodoroma 269a13d4fa Merge pull request #11917 from ulisseslima/master
BAEL 5403 - Import Data to MongoDB from Json File using Java
2022-03-23 18:47:39 +01:00
johnA1331 d09205d6fa Update README.md 2022-03-24 00:07:25 +08:00
johnA1331 3cadc58b03 Update README.md 2022-03-24 00:03:36 +08:00
davidmartinezbarua a74cb5c13e Merge pull request #11927 from kpentaris/resultset-count
Example code for Get the Number of Rows in a ResultSet
2022-03-23 11:37:13 -03:00
Ulisses Lima e5c34a56c2 https://jira.baeldung.com/browse/BAEL-5403
Editor Review changes:
* reverted SpringBootPersistenceApplication.java
* created SpringBootJsonConvertFileApplication.java in article package:
com.baeldung.boot.json.convertfile
2022-03-22 19:27:49 -03:00
Ulisses Lima ec403bd427 Merge branch 'eugenp:master' into master 2022-03-22 18:04:53 -03:00
kwoyke 8f7a2b7662 JAVA-9857: Remove overriden spring-boot.version property (#11956) 2022-03-22 18:24:59 +05:30
PentaKon 6810dd9c66 Change log statements to assert statements on test app 2022-03-22 11:06:23 +02:00
Attila Uhrin 79857f04ae Fix integration tests. 2022-03-21 17:43:35 +01:00
kwoyke 40fed60232 Merge pull request #11935 from freelansam/JAVA-10132
JAVA-10132: Align module names, folder names and artifact id
2022-03-18 08:47:40 +01:00
AttilaUhrin d01b0734d3 [BAEL-5373] A Guide to @DBRef in MongoDB (#11909)
* Add implementation for BAEL-5373.

* Fix test class name.

* Change collection names to be aligned with article.
2022-03-18 08:46:47 +05:30
sampadawagde 2ba43ea76b JAVA-10132: Align module names, folder names and artifact id 2022-03-17 22:06:38 +05:30
anuragkumawat 054a3bcda4 JAVA-10083 Changes as per review comments 2022-03-17 15:56:59 +05:30
anuragkumawat ce5d2c38a1 Merge remote-tracking branch 'upstream/master' 2022-03-17 15:50:07 +05:30
johnA1331 481bd47b89 Update README.md 2022-03-16 21:40:31 +08:00
johnA1331 33d165653b Update README.md 2022-03-16 21:28:01 +08:00
johnA1331 c8d224e24a Update README.md 2022-03-16 21:16:20 +08:00
johnA1331 aa751ab044 Update README.md 2022-03-16 21:09:51 +08:00
johnA1331 20825bdd9b Create README.md 2022-03-16 21:02:12 +08:00
Ulisses Lima c249317694 warn instead of throw 2022-03-14 23:34:39 -03:00
Ulisses Lima b03292b9c2 Merge branch 'eugenp:master' into master 2022-03-14 23:32:29 -03:00
Kapil Khandelwal f74056e1d7 BAEL-5371: Create a new module java-mongodb-2 in persistence-modules and add push and set operations in Same MongoDB Update (#11924) 2022-03-14 12:34:49 -07:00
Ralf Ueberfuhr aa35c80c41 BAEL-5457: Add Hikari configuration to datasource (#11923) 2022-03-14 12:23:35 -07:00
PentaKon a788576972 Decouple h2 mem db from rest of examples 2022-03-14 20:27:25 +02:00
PentaKon 3c9ba66969 Example code for Get the Number of Rows in a ResultSet 2022-03-14 20:16:03 +02:00
kwoyke cdc6380359 Merge pull request #11920 from freelansam/JAVA-10138
JAVA-10138 - Fix formatting of POMs
2022-03-14 15:00:17 +01:00
sampadawagde b8176a265a JAVA-10138 - Fix formatting of POMs 2022-03-13 14:48:44 +05:30
Gaetano Piazzolla 612dc0be7c BAEL-5358 - Case Insensitive Sorting in MongoDB (#11815)
* [BAEL-5358] - MongoDB Case Insensitive Ordering.

* [BAEL-5358] - removed comment, indent

* [BAEL-5358] - using junit5 and testcontainers

* [BAEL-5358] - fixed issues for PR

* [BAEL-5358] - removed method-> inline
2022-03-12 18:21:34 +00:00
anuragkumawat 0f920f8c79 JAVA-10083 2022-03-12 10:38:34 +05:30
Ulisses Lima 5b56b1ed39 BAEL-5403 - Import Data to MongoDB from Json File using Java
* Project
* Integration tests
2022-03-11 20:11:54 -03:00
anuragkumawat d699e5b0ce Merge remote-tracking branch 'upstream/master' 2022-03-12 00:11:08 +05:30
kwoyke 538c845739 JAVA-10130: Add/enable missing modules (#11887)
* JAVA-10130: Add apache-pot-2 module to the main pom.xml

* JAVA-10130: Add missing core-java-* modules to the main pom.xml

* JAVA-10130: Add maven-generate-war to the maven-modules pom.xml

* JAVA-10130: Add hibernate-mapping-2 to the persistence-modules pom.xml

* JAVA-10130: Add spring-data-jpa-enterprise-2 to the persistence-modules pom.xml

* JAVA-10130: Add spring-5-autowiring-beans module to the main pom.xml

* JAVA-10130: Add spring-cloud-docker module to the spring-cloud pom.xml

* JAVA-10130: Enable spring-cloud-openfeign module

* JAVA-10130: Add spring-data-rest-2 module to the main pom.xml

* JAVA-10130: Add wildfly-mdb module to the wildfly pom.xml

* JAVA-10130: Add aws-app-sync to the integration-lite-first profile

* JAVA-10130: Add core-java-string-algorithms-3

* JAVA-10130: Add graphql/graphql-dgs

* JAVA-10130: Add spring-di-3 and spring-threads

* JAVA-10130: Add spring-5-webflux-2 and cleanup the main pom.xml

* JAVA-10130: Add language-interop and libraries-rpc

* JAVA-10130: Disable spring-cloud-openfeign module

* JAVA-10478: Add docker module to the main pom.xml

* JAVA-10478: Move docker module to jdk9+ profile

* JAVA-10478: Remove spring-5-autowiring-beans from the main pom.xml
2022-03-11 21:39:33 +05:30
Kapil Khandelwal fee01d60fb BAEL-5374: push Into Array in MongoDB (#11916) 2022-03-10 10:50:08 -08:00
kwoyke 64cc1089f9 Merge pull request #11884 from anuragkumawat/JAVA-10379
JAVA-10379 Fix tests in hibernate-mapping-2 module
2022-03-10 13:21:30 +01:00
anuragkumawat fbb90aa41a JAVA-10379 Work done on feedback 2022-03-10 16:27:42 +05:30
anuragkumawat 202395427a Merge remote-tracking branch 'upstream/master' 2022-03-10 16:18:26 +05:30
Kapil Khandelwal c1751dc317 BAEL-5360: Check Collection Existence in MongoDB (#11905)
* BAEL-5360: Check Collection Existence in MongoDB

* BAEL-5360: update test names using the bdd scheme
2022-03-08 12:49:19 -08:00
Loredana Crusoveanu 91791ea3f6 Merge pull request #11769 from sazzer/BAEL-5229
BAEL-5229: Code for Fauna article
2022-03-07 19:43:11 +02:00
Asjad J dc6357d98e Updated README.md
added link back to the article: https://www.baeldung.com/mongodb-update-multiple-fields
2022-03-07 19:22:54 +05:00
Kapil Khandelwal dafb4d1f58 BAEL-5401: Update Fields of Documents in MongoDB Using the Java Driver (#11889) 2022-03-05 20:29:16 -08:00
Kapil Khandelwal 2eb49b96cb BAEL 5359: Update formatting (#11880)
* BAEL-5359: Updating Multiple Fields in a MongoDB Document

* BAEL-5359: Add test class file

* BAEL-5359: Rename UpdateMultipleFieldsUnitTest.java to UpdateMultipleFieldsLiveTest.java

* BAEL-5359: Update formatting
2022-03-03 09:36:08 -08:00
anuragkumawat 95aa9428b4 JAVA-10083 Create new module hibernate-queries from spring-hibernate-5 module 2022-03-03 21:57:58 +05:30
Haroon Khan 5aa5da657b [JAVA-10320] Run Cassandra test with a single fork 2022-03-02 12:26:29 +00:00
anuragkumawat 36899fd0e3 JAVA-10379 Fix tests in hibernate-mapping-2 module 2022-03-01 18:13:26 +05:30
kwoyke be0e55765c Merge pull request #11850 from anuragkumawat/master
JAVA-10081 :Create new module hibernate-mapping from spring-hibernate…
2022-02-28 09:22:56 +01:00
anuragkumawat 3c8bf25c07 Using property for dependencies versions 2022-02-28 10:15:29 +05:30
Kapil Khandelwal eae57f5496 BAEL-5359: Updating Multiple Fields in a MongoDB Document (#11861)
* BAEL-5359: Updating Multiple Fields in a MongoDB Document

* BAEL-5359: Add test class file

* BAEL-5359: Rename UpdateMultipleFieldsUnitTest.java to UpdateMultipleFieldsLiveTest.java
2022-02-27 12:21:17 -08:00
anuragkumawat 12c25ba2e3 JAVA-10307:Fix Table ITEM not found issue 2022-02-25 15:47:15 +05:30
anuragkumawat d111a07fc6 Merge remote-tracking branch 'upstream/master' 2022-02-25 15:06:07 +05:30
kwoyke d988efb89f Merge pull request #11852 from freelansam/JAVA-9824
JAVA-9824: Identify boot modules not using parent-boot-2 as parent and
2022-02-23 16:43:13 +01:00
anuragkumawat bb7b461a49 JAVA-10081: Removed unused files and updated pom.xml 2022-02-23 19:54:43 +05:30
johnA1331 9fd7fb2c0f Update README.md 2022-02-23 19:45:17 +08:00
sampadawagde 9d19160043 JAVA-9824: Identify boot modules not using parent-boot-2 as parent and
upgrade log4j for them
2022-02-22 21:53:39 +05:30
anuragkumawat d003088364 JAVA-10081 :Create new module hibernate-mapping from spring-hibernate-5 module 2022-02-22 12:01:06 +05:30
Vikas Rajput d28a3e642a Bael 4788: Completed Article - Hibernate addScalar() method (#11783)
* BAEL-4788: Added ScalarDemo Class for Hibernate addScalar Method article

* BAEL-4788: Added unit tests in the article

* BAEL-4788: removed redundant code

Co-authored-by: Vikas Ramsingh Rajput <vikas.rajput@crownconsult.com>
2022-02-19 17:06:34 +05:30
Asjad J b73253cfbc Updated README.md
Linked back to: https://www.baeldung.com/spring-boot-configure-multiple-datasources
2022-02-15 21:38:49 +05:00
Ralf Ueberfuhr 7f84edf0f8 BAEL-5323: Merge sources into existing persistence module (#11804)
* BAEL-5323: Spring Boot with multiple data sources

* BAEL-5323: small fixes

* BAEL-5323: fix test class

* BAEL-5323: Refactor configuration classes

* BAEL-5323: Set proeprty to private

* BAEL-5323: rename test class to follow naming conventions

* BAEL-5323: merge sources into existing persistence module

* BAEL-5323: merge sources into existing persistence module
2022-02-11 11:49:43 -08:00
Graham Cox f4c03153a1 Merge remote-tracking branch 'upstream/master' into BAEL-5229 2022-02-10 09:15:34 +00:00
Graham Cox 3c701c5388 Replaced tabs with spaces in auto-generated files 2022-02-10 07:32:33 +00:00
johnA1331 6a1b6d6ced Update README.md 2022-02-09 14:00:22 +08:00
Loredana Crusoveanu dbdb4ccade Merge pull request #11776 from kwoyke/JAVA-9840-fix
JAVA-9840: Keep spring-data-jpa-filtering on Spring Boot 2.6.1
2022-02-05 18:42:26 +02:00
kwoyke 28e7096521 Merge pull request #11777 from hkhan/JAVA-9585-cassandra-integration-tests
[JAVA-9585] Convert Cassandra integration tests to Live tests
2022-02-05 10:51:19 +01:00
davidmartinezbarua e561a56193 Merge pull request #11658 from andresluzu/andres.luzuriaga/BAEL-4498
BAEL-4498 JDBC Connection Status
2022-02-04 14:05:13 -08:00
Haroon Khan d70d23f8e1 [JAVA-9585] Convert Cassandra integration tests to Live tests 2022-02-04 18:47:43 +00:00
Krzysiek a61eb46b22 JAVA-9840: Keep spring-data-jpa-filtering on Spring Boot 2.6.1 2022-02-04 11:46:52 +01:00
Andres Luzuriaga b15df89834 BAEL-4498 JDBC Connection Status 2022-02-03 15:12:49 -05:00
Krzysiek 15bd0c0966 JAVA-9840: Upgrade spring-core version to 5.3.15 2022-02-03 11:23:05 +01:00
Graham Cox 9cb6ff1227 BAEL-5229: Code for Fauna article 2022-02-03 07:47:32 +00:00
johnA1331 fe6b84fd5f Update README.md 2022-02-02 17:44:32 +08:00