Commit Graph

1058 Commits

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