Commit Graph

974 Commits

Author SHA1 Message Date
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