Commit Graph

1002 Commits

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