Commit Graph

945 Commits

Author SHA1 Message Date
Loredana Crusoveanu 987b69d137 Merge pull request #11390 from chaos2418/JAVA-1664
JAVA-1664: upgrading parent-boot-2 junit and surefire configurations
2021-11-03 11:47:32 +02:00
chaos2418 9bbd34d45f JAVA-1664: upgrading parent-boot-2 junit and surefire configurations 2021-11-02 14:51:24 +05:30
mikr e3aebd9c10 Merge branch 'master' of https://github.com/Maiklins/tutorials into JAVA-7244-Review_log_statements_for_projects
 Conflicts:
	algorithms-searching/src/test/java/com/baeldung/algorithms/quadtree/QuadTreeSearchUnitTest.java
2021-10-31 20:54:51 +01:00
davidmartinezbarua 789b7267be Merge pull request #11187 from mladensavic94/master
Connecting to a Specific Schema in JDBC
2021-10-31 10:20:46 -03:00
Dhawal Kapil 1ab0a19d25 Java 3590 (#11367) (#11380)
* Java 3590 (#11367)

* JAVA-3590: updating junit-jupiter dependency in the main pom.xml

* resolving unnecessary mockito stubbings exception

* adding junit-bom in dependency management

* fixing tests which were not getting discovered

* Revert "fixing tests which were not getting discovered"

This reverts commit 2e9ed8df42eb96f7e0929167aabbc2ddd374a263.

* fixing tests in ninja, open-liberty and spring-ejb

* removing junit4 dependency and replacing it with junit-vintage-engine

* removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda

* removing junit dependency and replacing it with junit-vintage-engine

* removing junit and replacing it with junit-vintage-engine

* fixing tests that were not getting discovered due to old version of junit:junit

* updated failsafe plugin configuration to skip integration tests in blade

* fixing tests that were not getting discovered due to old version of junit:junit

* fixing tests in libraries and libraries-2 modules

Co-authored-by: chaos2418 <>

* Java 3590 - fixing integration tests in restx and spring-5-webflux (#11382)

* JAVA-3590: updating junit-jupiter dependency in the main pom.xml

* resolving unnecessary mockito stubbings exception

* adding junit-bom in dependency management

* fixing tests which were not getting discovered

* Revert "fixing tests which were not getting discovered"

This reverts commit 2e9ed8df42eb96f7e0929167aabbc2ddd374a263.

* fixing tests in ninja, open-liberty and spring-ejb

* removing junit4 dependency and replacing it with junit-vintage-engine

* removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda

* removing junit dependency and replacing it with junit-vintage-engine

* removing junit and replacing it with junit-vintage-engine

* fixing tests that were not getting discovered due to old version of junit:junit

* updated failsafe plugin configuration to skip integration tests in blade

* fixing tests that were not getting discovered due to old version of junit:junit

* fixing tests in libraries and libraries-2 modules

* fixing integration tests in restx and spring-5-webflux

Co-authored-by: chaos2418 <>

Co-authored-by: chaos2418 <92030908+chaos2418@users.noreply.github.com>
2021-10-29 09:37:04 +05:30
Loredana Crusoveanu 0cdfc26191 Merge pull request #11378 from johnA1331/master
BAEL-42938 - add links to github-baeldung articles
2021-10-28 09:21:16 +03:00
Arash Ariani 7ab19421e3 BAEL-5058 : apache-derby added to dir (#11339)
* BAEL-5058 : apache-derby added to dir

* BAEL-5058 : apache-derby fixed changes

* BAEL-5058 : apache-derby parent pom fixed
2021-10-28 09:55:34 +05:30
Rafael Lopez b9fadd8f3d JAVA-2592: Update article on AbstractRoutingDatasource (#11320)
Co-authored-by: Dhawal Kapil <dhawalkapil@gmail.com>
2021-10-28 00:28:57 +05:30
johnA1331 6d2a137636 Create README.md 2021-10-28 01:52:51 +08:00
Daniel Strmecki 24864eb370 Feature/bael 5040 cassandra testcontainers (#11124)
* BAEL-5040: initial commit - spring data cassandra using boot-2

* BAEL-5040: update test example

* BAEL-5040: add brackets

* BAEL-5040: use singleton container

* BAEL-5040: switch from singleton to nested classes approach

* BAEL-5040: package private methods in junit5

* BAEL-5040: Move SpringBootTest annotation to parent class
2021-10-25 08:47:50 +01:00
Ashish Gupta faf9c9e3ee Update application.yaml 2021-10-18 10:39:18 +05:30
Ashish Gupta 6ada7ea861 Update application.yaml 2021-10-18 10:33:43 +05:30
Ashish Gupta 88261b4340 Merge branch 'eugenp:master' into master 2021-10-18 10:30:15 +05:30
Loredana Crusoveanu 594feae939 Merge pull request #11337 from chaos2418/JIRA-7733
Spring Boot 2.5.x compatible updates in persistence-modules
2021-10-16 10:27:31 +03:00
kwoyke c222d29f15 Merge pull request #11333 from Rafael-Lopez/feature-JAVA-2595
JAVA-2595: Update Cassandra articles
2021-10-15 15:30:32 +02:00
Ashish Gupta 1afa3bfcea BAEL-5126 2021-10-15 12:24:11 +05:30
Shashank 4bd4abe983 Spring Boot 2.5.x compatible updates in spring-data-jpa-annotations 2021-10-15 09:51:04 +05:30
Shashank b5ed1148cc Spring Boot 2.5.x compatible updates in spring-boot-persistence-h2 2021-10-15 09:46:03 +05:30
Shashank df95f2e2a8 Spring Boot 2.5.x compatible updates in spring-data-jpa-query-2 2021-10-15 09:24:10 +05:30
Shashank 40aa009be2 Spring Boot 2.5.x compatible updates in spring-data-jpa-query 2021-10-15 09:16:33 +05:30
Shashank b63d7cc057 autogen key code cleanup 2021-10-15 08:58:53 +05:30
Rafael Lopez 47b27beae0 JAVA-2595: Update Cassandra articles 2021-10-14 17:16:56 -04:00
Shashank 8c5391ca75 Spring Boot 2.5.x compatible updates in spring-data-jpa-repo 2021-10-14 20:09:00 +05:30
Shashank cd3868d863 Spring Boot 2.5.x compatible updates in spring-boot-persistence 2021-10-14 19:08:58 +05:30
Shashank 28a9519e8e updating the version of flyway-core and changing the callback implementation. 2021-10-11 21:32:52 +05:30
kwoyke 81cc62aac8 Merge pull request #11305 from chaos2418/JIRA-7743
updating flyway-maven-plugin versions to 8.0.0
2021-10-11 12:07:59 +02:00
KevinGilmore b9f7ee7935 BAEL-4980 add link back to article (#11308) 2021-10-09 16:26:48 -05:00
Shashank 837ca9f70e updating flyway-maven-plugin version to 8.0.0 2021-10-09 10:52:28 +05:30
makapszenna 1d786aba52 BAEL-4980 Cassandra frozen keyword (#11287)
Co-authored-by: Adrianna Zychewicz <adrianna.zychewicz@decerto.pl>
2021-10-08 22:20:37 -05:00
Loredana Crusoveanu e853b70bfc Merge pull request #11296 from johnA1331/master
BAEL-41828 - add links to github-baeldung articles
2021-10-07 09:04:16 +03:00
johnA1331 437831f0e4 Update README.md 2021-10-07 00:40:30 +08:00
Shashank eca691f2e2 updating the visibility modifier in spring.hibernate.AbstractHibernateDao (#11294)
Co-authored-by: Shashank <shashankgowri@gmail.com>
2021-10-06 21:49:26 +05:30
anuragkumawat a5101bd5ef Merge branch 'master' into master 2021-10-06 17:10:37 +05:30
anuragkumawat 69cc01ddd3 JAVA-6510 : Update spring-data-mongodb-reactive module 2021-10-06 12:45:50 +05:30
Mansoor Ali 5cb50132f7 BAEL-5118 (#11238)
* BAEL-5118 How to solve Hibernate “object references an unsaved transient instance” error

* BAEL-5118 How to solve Hibernate “object references an unsaved transient instance” error - refactoring
2021-10-04 21:00:20 -05:00
Shashank Gowri b8a9ea2974 fix: updating database username to be in sync with the article (#11270) 2021-10-01 22:36:07 +05:30
Mladen Savic b75fba6f7f Merge branch 'eugenp:master' into master 2021-10-01 12:34:37 +02:00
kwoyke 9e7361d403 Merge pull request #11263 from dkapil/task/JAVA-6454
JAVA-6454 Changes done as per Spring Boot 2.5 release
2021-09-29 09:08:54 +02:00
Loredana Crusoveanu 40b1bf01dd Merge branch 'master' into JAVA-6511-p2 2021-09-29 09:12:34 +03:00
Dhawal Kapil 0e9d949beb JAVA-6454 Changes done as per Spring Boot 2.5 release
- Added spring.jpa.defer-datasource-initialization so that data creation
can be enabled using data.sql files
2021-09-27 23:14:47 +05:30
kwoyke 5276659f6f Merge pull request #11259 from Rafael-Lopez/feature-JAVA-2801
JAVA-2801: Upgrade spring-data-cassandra-reactive to the latest Spring Boot version
2021-09-26 20:24:27 +02:00
Rafael Lopez 924fb8bbe2 JAVA-2801: Upgrade spring-data-cassandra-reactive to the latest Spring Boot version 2021-09-26 12:57:40 -04:00
Haroon Khan 00026a8d5b [JAVA-6005] Reduce logging (#11247) 2021-09-26 08:58:09 +05:30
kwoyke 7bdb749272 Merge pull request #11237 from Rafael-Lopez/feature-JAVA-7334
JAVA-7334: Update 'Oracle Connection Pooling With Spring' article
2021-09-21 09:51:24 +02:00
Rafael Lopez e03662dd54 JAVA-7334: Update 'Oracle Connection Pooling With Spring' article 2021-09-19 17:56:49 -04:00
freelansam fe7d2af8c0 JAVA-7178: Fix formatting of POMs (#11236)
* JAVA-7178: Fix formatting of POMs

* JAVA-7178: fix failing build
2021-09-20 00:04:26 +05:30
mikr 72f31df764 JAVA-7244 Review log statements for projects 2021-09-18 00:37:04 +02:00
kwoyke 6ed0aee6a0 JAVA-7133: POM Properties Cleanup (#11229)
* JAVA-7133: Use common org.slf4j.version property

* JAVA-7133: Use common logback.version property
2021-09-16 22:34:26 +05:30
davidmartinezbarua 5a07399e73 Merge pull request #11198 from azhwani/BAEL-4681
[BAEL-4681] Update "Spring Data – CrudRepository save() Method" article
2021-09-15 11:22:17 -03:00
johnA1331 7fe837abd2 Update README.md 2021-09-09 00:43:30 +08:00
Azhwani d600970b66 Add test case 2021-09-04 20:15:52 +02:00
Loredana Crusoveanu a30a491ab1 Merge pull request #11079 from eugenp/JAVA-2802-v2
JAVA-2802 update article links
2021-09-03 11:37:05 +03:00
johnA1331 070e687c07 Update README.md 2021-09-01 21:57:28 +08:00
Mladen Savic f30118469c Connecting to a Specific Schema in JDBC 2021-08-31 20:44:43 +02:00
Maciej Główka 8f6869a4b7 BAEL-4889: checking whether a field exists or not in MongoDB (#11129)
* BAEL-4889: checking whether a field exists or not in MongoDB

* BAEL-4889: fixed test class name

* BAEL-4889: upgraded mongo version

* BAEL-4889: changed test class name
2021-08-23 19:44:47 -07:00
Dhawal Kapil a070ea706d Merge branch 'task/JAVA-3247' of https://github.com/dkapil/tutorials into task/JAVA-3247 2021-08-21 14:36:58 +05:30
Dhawal Kapil fae92b4fa6 JAVA-3247 further changes to reduce logging build pass 2021-08-21 14:35:49 +05:30
kwoyke 2262aca5c8 Merge branch 'master' into task/JAVA-3247 2021-08-21 10:52:52 +02:00
Dhawal Kapil b6a5974f85 JAVA-3247 Reduce logging of tutorials-integration job 2021-08-21 14:14:24 +05:30
majewsk6 1d2d3e9e75 BAEL-5009 - fix test name 2021-08-20 12:23:01 +02:00
Loredana Crusoveanu 59355e07cc JAVA-6511 update readme, add context test 2021-08-20 10:54:24 +03:00
kwoyke 6ecf7ec207 JAVA-5954: Strip out unnecceary test data from 10mb file (#11145) 2021-08-19 20:17:32 +05:30
Loredana Crusoveanu d0e602c42f Merge pull request #11136 from kwoyke/JAVA-5955
JAVA-5955: Decrease size of the zips.json file
2021-08-18 15:07:33 +03:00
Krzysiek 38d2c7a5f0 JAVA-5955: Decrease size of the zips.json file 2021-08-18 11:35:39 +02:00
johnA1331 117cb39cc2 Update README.md 2021-08-18 13:16:15 +08:00
Krzysztof Majewski 439b5a4fde BAEL-5009 Spring Data with ArangoDB (#11115)
* BAEL-5009 Spring Data with ArangoDB

* BAEL-5009 Spring Data with ArangoDB

* BAEL-5009 Spring Data with ArangoDB

* BAEL-5009 Spring Data with ArangoDB

* BAEL-5009 Spring Data with ArangoDB

* BAEL-5009 Spring Data with ArangoDB

Co-authored-by: majewsk6 <krzysztof.majewski.km1@contractors.roche.com>
2021-08-13 08:13:26 -07:00
johnA1331 888f601132 Update README.md 2021-08-05 01:10:01 +08:00
johnA1331 20d160b944 Update README.md 2021-08-05 01:04:27 +08:00
freelansam 32dde5b5d1 JAVA-6475: Fix formatting of POMs (#11087)
* JAVA-6475: Fix formatting of POMs

* correct build error
2021-08-03 00:27:15 +05:30
Mladen Savic 0ea4180da1 EntityNotFoundException in Hibernate - change in persistence unit (#11092)
* JPA Entities and the Serializable Interface

* JPA Entities and the Serializable Interface - edit after review

* JPA Entities and the Serializable Interface - formatting

* JPA Entities and the Serializable Interface - indentation

* EntityNotFoundException in Hibernate

* EntityNotFoundException in Hibernate - fix persistence unit config to allow multiple test to run in conjunction.
2021-08-02 07:19:01 -07:00
Jonathan Cook 3da557e943 Merge pull request #11064 from synaptrec/BAEL-4122_A_Quick_Guide_to_Autocommit_in_JDBC
First Draft - [BAEL-4122] - A Quick Guide to Autocommit in JDBC
2021-08-02 09:05:35 +02:00
nrsureshdeveloper d36b90a1d0 Bael-5023 data cassandra test (#11082)
* Example implementation of Hexagonal Architecture pattern

* Example Cassandra Springboot application demonstrating the usage of @DataCassandraTest annotation

* Example Cassandra Springboot application demonstrating the usage of @DataCassandraTest annotation

* temporarily ignoring the unit test

* removed ddd-hexagonal-arch module

* changed the test to LiveTest
added readme

* refactored test names

* changes per review comments

* upgraded Cassandra java core driver versino

Co-authored-by: Suresh Raghavan <contactnrsuresh@gmail.com>
2021-07-31 12:40:19 -07:00
kwoyke 3ff0ae10d0 JAVA-6298: Enable spring-mybatis module (#11074)
* JAVA-6298: Enable spring-mybatis module

* JAVA-6298: Rename to unit tests
2021-07-29 21:09:38 +05:30
Mladen Savic ef23c27c9e EntityNotFoundException in Hibernate (#11085)
* JPA Entities and the Serializable Interface

* JPA Entities and the Serializable Interface - edit after review

* JPA Entities and the Serializable Interface - formatting

* JPA Entities and the Serializable Interface - indentation

* EntityNotFoundException in Hibernate
2021-07-29 08:15:46 -07:00
johnA1331 e3f1437b32 Update README.md 2021-07-29 03:41:52 +08:00
Loredana Crusoveanu 30329073cd JAVA-2802 update article links 2021-07-28 18:21:44 +03:00
anuragkumawat dfe07885eb JAVA-2802 - Copied the separate draft code for Mongo DB Reactive Articles and configured it with persistence modules. 2021-07-28 04:01:58 +05:30
makapszenna b39c550ff6 BAEL-4977 CQL Data Types (#11017)
Co-authored-by: Adrianna Zychewicz <adrianna.zychewicz@decerto.pl>
2021-07-23 12:13:16 +02:00
gjohnson 91bbabd97a First Draft - BAEL-4122 - A Quick Guide to Autocommit in JDBC 2021-07-23 01:00:45 +01:00
Ali Dehghani a2390f6146 BAEL-4851: Update "DB Integration Tests with Spring Boot and Testcontainers" article (#11015) 2021-07-13 17:49:47 -05:00
sampadawagde 0eb7183ecd JAVA-5936: Analyse bean overriding fix in modules - Part 4 2021-07-10 21:10:43 +05:30
KevinGilmore 1e5af80428 BAEL-4993: add link back to article (#10994) 2021-07-03 17:09:09 -05:00
Mladen Savic c31d5fffe1 JPA Entities and the Serializable Interface (#10971)
* JPA Entities and the Serializable Interface

* JPA Entities and the Serializable Interface - edit after review

* JPA Entities and the Serializable Interface - formatting

* JPA Entities and the Serializable Interface - indentation
2021-07-02 20:47:54 -05:00
Dhawal Kapil 4663860dde JAVA-5975 Made All Redis *IntegrationTest to *ManualTest (#10969) 2021-06-27 16:29:33 +05:30
Dhawal Kapil 0d6a073223 JAVA-5975 Made RedisTemplateValueOpsIntegrationTest to *ManualTest as it attempts to start a redis server at port 6379 that fails intermittently in Jenkins (#10967) 2021-06-27 14:05:33 +05:30
kwoyke eb1f4e1e90 JAVA-5875: Upgrade Spring Boot to 2.5.1 (#10956)
* JAVA-5875: Upgrade Spring Boot to 2.5.1

* JAVA-5875: Leave jta module on Spring Boot 2.4.7

* JAVA-5875: Update spring-boot-persistence-mongodb to use embedded Mongo 3.0

* JAVA-5875: Leave spring-data-dynamodb on Spring Boot 2.4.7

* JAVA-5875: ErrorController#getErrorPath has been removed

* JAVA-5875: Fix SQL Script DataSource Initialization

* JAVA-5875: ErrorController#getErrorPath has been removed

* JAVA-5875: Fix RepositoryRestConfigurer

* JAVA-5875: Fix issues caused by rest-assured upgrade

* JAVA-5875: Upgrade spring-cloud-dependencies to 2020.0.3

* JAVA-5875: Leave spring-boot-keycloak on Spring Boot 2.4.7

* JAVA-5875: Fix data.sql script initialization

* JAVA-5875: Leave spring-security-legacy-oidc on Spring Boot 2.4.7

* JAVA-5875: Fix data.sql script initialization

* JAVA-5875: Fix data.sql script initialization

* JAVA-5875: Update de.flapdoodle.embed.mongo dependency

* JAVA-5875: Upgrade spring-cloud-dependencies to 2020.0.3

* JAVA-5875: Update Spring Cloud dependencies

* JAVA-5875: Update cloud dependencies

* JAVA-5875: Defer datasource initialization

* JAVA-5875: Fix rest assured version

* JAVA-5875: Fix Spring Batch serialization issue

* JAVA-5875: Update Spring Cloud Stream version

* JAVA-5875: Update Spring Kafka version

* JAVA-5875: Leave spring-zuul-rate-limiting on Spring Boot 2.4.7

Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-06-26 01:20:37 +05:30
johnA1331 b898d5966b Update README.md 2021-06-17 00:45:16 +08:00
kwoyke 19129f3721 BAEL-5001: Fix typo in C3P0 (#10886)
Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-06-16 12:38:07 +02:00
kwoyke 339fb7ec44 JAVA-5408: Use common postgresql.version property (#10879)
* JAVA-5408: Use common postgresql.version property

* JAVA-5408: Cleanup spring-boot-react

* JAVA-5408: Use commons-cli.version property in libraries-data

* JAVA-5408: spring-security-modules cleanup

Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-06-11 20:25:37 +05:30
Jonathan Cook 425e63a6e8 Merge pull request #10807 from mladensavic94/master
insert null into Integer column using JDBC
2021-06-09 11:15:43 +02:00
Mladen Savic 59b3081d46 insert null into Integer column using JDBC - minor formatting 2021-06-09 10:08:55 +02:00
Mladen Savic 1a6361606c insert null into Integer column using JDBC - final code review 2021-06-08 18:08:30 +02:00
johnA1331 26768f40a5 Update README.md 2021-06-03 22:41:19 +08:00
johnA1331 cf166adab6 Update README.md 2021-06-03 22:28:36 +08:00
Mladen Savic 07af5a2687 insert null into Integer column using JDBC - code improvements 2021-06-03 12:26:02 +02:00
MeenaGawande 559d47a612 [BAEL-4958] JPA Unique Constraint (#10793)
* [BAEL-4958] JPA Unique Constraint

Defining Unique Constraints in JPA

* [BAEL-4958] JPA Unique Constraint

Changed the field name from pAddress to streetAddress

* [BAEL-4958] JPA Unique Constraint

Resolved conflicts

* [BAEL-4958] JPA Unique Constraint

Getters and setters are changed for address field

* [BAEL-4958] JPA Unique Constraint

Fixed Junits

* [BAEL-4958] JPA Unique Constraint

Fixed id field

Co-authored-by: MeenaGawande <MeenaGawande@users.noreply.github.com>
2021-06-01 21:52:34 -05:00
Mladen Savic 239da42aab insert null into Integer column using JDBC 2021-05-26 00:14:14 +02:00
Maciej Główka 27c53fd6de BAEL-4887: fetching multiple entities in JPA query (#10803) 2021-05-25 12:48:22 -07:00
johnA1331 a281d31d1b Update README.md 2021-05-20 01:32:52 +08:00
johnA1331 90c4e23932 Update README.md 2021-05-20 01:25:36 +08:00
johnA1331 823ec61b41 Update README.md 2021-05-20 01:16:34 +08:00
bfontana fcb1e38007 Merge pull request #10683 from hendrosteven/jpa-soft-delete
Adding soft delete
2021-05-17 00:05:05 -03:00
Eric Martin cfb8fe77b5 Merge pull request #10720 from polomos/BAEL-4900_attribute_overwrite
BAEL-4900 AttributeOverwrite explained
2021-05-16 14:01:40 -05:00
davidmartinezbarua cec301a797 Merge pull request #10706 from mladensavic94/master
BAEL-4898 - return an auto generated id
2021-05-16 10:12:12 -03:00
Hendro Steven 567a71fdbc remove comments 2021-05-13 19:13:06 +07:00
Jacek Polom a2bf1605fc BAEL-4900 Rename package name from overwrite to override, to be consist with annotation name. 2021-05-12 20:34:36 +02:00
johnA1331 f7ea846c94 Update README.md 2021-05-12 23:24:34 +08:00
Eric Martin 78f60acf3a Merge pull request #10722 from SmartyAnsh/BAEL-4921-mapping_arrays_with_hibernate
Bael 4921 mapping arrays with hibernate
2021-05-11 19:21:50 -05:00
sampadawagde ae27c57803 JAVA-5223: Fix formatting of POMs (Persistence Modules - Part 3) 2021-05-10 20:06:48 +05:30
sampadawagde c4cac4d381 JAVA-5223: Fix formatting of POMs (Persistence Modules - Part 2) 2021-05-10 20:06:19 +05:30
sampadawagde fa112ee5f8 JAVA-5223: Fix formatting of POMs (Persistence Modules - Part 1) 2021-05-10 20:05:39 +05:30
Hendro Steven 09eaca9914 remove mysql and using h2 db 2021-05-06 21:01:54 +07:00
Jacek Polom f9ae7b18a7 BAEL-4900 Code formatting fixed with intellij formatter 2021-05-04 20:20:34 +02:00
Anshul BANSAL b44d7b39a4 BAEL-4921 - renamed to ArrayMappingIntegrationTest 2021-05-04 07:10:43 +03:00
Anshul BANSAL 735a9e9360 BAEL-4921- fixed review comments 2021-05-04 06:46:34 +03:00
Jacek Polom 48aa7c5425 BAEL-4900 Code formatting fixed 2021-05-03 12:11:51 +02:00
Anshul BANSAL c764d5a8cb A print statement added in the catch 2021-05-02 14:21:35 +03:00
Anshul BANSAL 663adf48d2 A print statement added in the catch 2021-05-02 14:20:37 +03:00
Anshul BANSAL bb80ed7329 BAEL-4921 - Mapping Arrays with Hibernate 2021-05-02 14:19:29 +03:00
Anshul BANSAL 3bf380a464 BAEL-4921 - Mapping Arrays with Hibernate 2021-05-02 14:16:48 +03:00
Jacek Polom d34fdfd40a BAEL-4900 AttributeOverwrite explained 2021-04-29 21:20:09 +02:00
Mladen Savic 754a18a728 return auto generated ids 2021-04-27 12:34:05 +02:00
Hendro Steven e783f0c748 Adding soft delete 2021-04-22 09:43:02 +07:00
johnA1331 f7ed6da42b Update README.md 2021-04-14 23:45:18 +08:00
Eric Martin ae670c565c Merge pull request #10645 from abdallahsawan/BAEL-4121
Usage of the Hibernate @LazyCollection Annotation Article by Abdallah…
2021-04-10 17:29:29 -05:00
AbdallahSawan a9fbcbadec Usage of the Hibernate @LazyCollection Annotation Article by Abdallah Sawan 2021-04-11 01:01:57 +03:00
freelansam 60b6c6e6b6 Merge branch 'master' into JAVA-3576 2021-04-10 16:21:13 +05:30
Eric Martin 8c00c69fde Merge pull request #10494 from abdallahsawan/BAEL-4121
Usage of the Hibernate @LazyCollection Annotation Article by Abdallah…
2021-04-08 19:31:13 -05:00
Loredana Crusoveanu 913f2ce3aa Merge pull request #10622 from kwoyke/JAVA-3596
JAVA-3596: Upgrade exec-maven-plugin dependency
2021-04-07 10:24:58 +03:00
Loredana Crusoveanu 0315404617 Merge pull request #10627 from eugenp/update-tests
use junit 5, change log level
2021-04-03 12:10:07 +03:00
Loredana Crusoveanu 34e77a64a8 use junit 5, change log level 2021-04-03 12:06:08 +03:00
sampadawagde 7cbf13db95 JAVA-3576 - Align module names, folder names and artifact id 2021-04-02 22:46:25 +05:30
Krzysztof Woyke 63e5a2dad0 JAVA-3596: Clean up exec-maven-plugin config 2021-04-02 15:43:27 +02:00
Krzysztof Woyke e22ad64847 JAVA-5083: Fix unit tests in java-jpa-3 module 2021-04-01 23:31:16 +02:00
Loredana Crusoveanu 53eedb7ad5 Merge pull request #10614 from kwoyke/JAVA-3578
JAVA-3578: Sub-modules cleanup (pom.xml)
2021-04-01 18:46:22 +03:00
Krzysztof Woyke 273ffd5aba JAVA-3578: Ignore failing unit test in the java-jpa-3 2021-03-31 23:30:49 +02:00
johnA1331 457fc61bd5 Update README.md 2021-04-01 00:23:26 +08:00
johnA1331 f9f83d2305 Update README.md 2021-04-01 00:21:28 +08:00
Krzysztof Woyke 270f54dce6 JAVA-3578: Verify sub-modules - persistence-modules 2021-03-31 15:32:26 +02:00
Loredana Crusoveanu 2aad46fd00 Merge pull request #10607 from kwoyke/JAVA-3593
JAVA-3593: Upgrade byte-buddy to 1.10.22
2021-03-30 19:37:44 +03:00
Krzysztof Woyke f17aec8395 JAVA-3593: Use byte-buddy version inherited from the main pom.xml 2021-03-29 23:11:42 +02:00
Krzysztof Woyke 0ae1bfedde JAVA-4931: Cleanup surefire config. Part 2. 2021-03-29 18:57:35 +02:00
Loredana Crusoveanu eb35265244 Merge pull request #10594 from kwoyke/JAVA-4529
JAVA-4529: Rename some unit tests to integration tests
2021-03-29 14:59:58 +03:00
Loredana Crusoveanu d3317c4963 Merge pull request #10584 from kwoyke/JAVA-3295
JAVA-3295: POM Properties Cleanup
2021-03-29 14:57:35 +03:00
Loredana Crusoveanu 4879da3f3c Merge pull request #10576 from kwoyke/JAVA-3595
JAVA-3595: Upgrade jmh-core and jmh-generator dependencies in the main pom.xml
2021-03-29 14:37:34 +03:00
Greg 0d0b218079 Merge pull request #10545 from amitiw4u/BAEL-4798-CountQuery
Bael 4798 count query
2021-03-28 20:27:20 -04:00
Amitabh Tiwari 0b16b1440b Fixed review comments 2021-03-26 21:03:08 +05:30
Krzysztof Woyke a382f77a64 JAVA-3295: Remove redundant java.version property 2021-03-26 12:55:14 +01:00
Krzysztof Woyke bb8bac806a JAVA-4529: Rename some unit tests to integration tests 2021-03-26 10:57:39 +01:00
Krzysztof Woyke 6ef0632df2 JAVA-3295: Fix pom properties in persistence-modules 2021-03-24 12:32:33 +01:00
Krzysztof Woyke df93a6b9e6 JAVA-3295: Use project.build.sourceEncoding and project.reporting.outputEncoding from the main pom.xml 2021-03-24 09:37:43 +01:00
Krzysztof Woyke df68287728 JAVA-3595: Use jmh version defined in the parent pom.xml 2021-03-21 23:06:03 +01:00
kwoyke a0a766c123 BAEL-4852: Add IN example (#10568)
Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-03-21 18:40:31 +01:00
mdabrowski-eu dd288575da BAEL-4789 Check if a database table exists (#10565)
* BAEL-4789 Check if a database table exists

* BAEL-4789 fix db credentials

* BAEL-4789 fix test method name
2021-03-21 18:38:10 +01:00
Kent@lhind.hp.g5 a83d25884e using query method 2021-03-10 11:28:43 +01:00
Amitabh Tiwari d010629fd5 Added changes to fix the tests 2021-03-09 20:23:15 +05:30
Amitabh Tiwari 2fff4d24c5 Added count queries 2021-03-07 16:43:52 +05:30
kwoyke 28cd4fa7ba BAEL-4194: Add example for not using the @Modifying (#10536) 2021-03-04 07:12:09 +01:00
Amitabh Tiwari 0900935000 Added tests for count 2021-03-01 09:05:25 +05:30
AbdallahSawan 8a004c459a Usage of the Hibernate @LazyCollection Annotation Article by Abdallah Sawan 2021-02-23 15:56:18 +02:00
AbdallahSawan 927b10e02e Usage of the Hibernate @LazyCollection Annotation Article by Abdallah Sawan 2021-02-23 15:51:13 +02:00
AbdallahSawan 342730c4a9 Usage of the Hibernate @LazyCollection Annotation Article by Abdallah Sawan 2021-02-16 15:48:06 +02:00
AbdallahSawan 5586a74acd Usage of the Hibernate @LazyCollection Annotation Article by Abdallah Sawan 2021-02-16 15:47:38 +02:00
AbdallahSawan 5f2ea49926 Usage of the Hibernate @LazyCollection Annotation Article by Abdallah Sawan 2021-02-16 11:41:27 +02:00
AbdallahSawan 34b1a35afb Usage of the Hibernate @LazyCollection Annotation Article by Abdallah Sawan 2021-02-16 11:31:04 +02:00
AbdallahSawan 13b16b915a Usage of the Hibernate @LazyCollection Annotation Article by Abdallah Sawan 2021-02-16 10:40:43 +02:00
AbdallahSawan 9b1388c6e2 Usage of the Hibernate @LazyCollection Annotation Article by Abdallah Sawan 2021-02-16 02:43:49 +02:00
kwoyke 153f600c62 BAEL-4758: Override autoIndexCreation in MongoConfig (#10474) 2021-02-10 07:51:44 +01:00
osser-sam cfbdbe1001 JAVA-4012: fix failing test (#10455) 2021-02-03 01:16:00 +05:30
sampadawagde 992a33fe7d JAVA-4012: clean-up 2021-01-24 23:46:39 +05:30
sampadawagde 0fe1563388 JAVA-4012: Moved 1 article from spring-data-mongodb to
spring-boot-persistence-mongodb
2021-01-24 23:40:00 +05:30
Loredana Crusoveanu 2d0d20d577 Merge pull request #10436 from sampada07/JAVA-4012
JAVA-4012: Split or move spring-data-mongodb module
2021-01-21 10:11:40 +02:00
sampadawagde a679b19978 JAVA-4012: removed entry for article 2021-01-20 22:39:36 +05:30
sampadawagde 52c492f679 JAVA-4012: README changes 2021-01-20 22:32:54 +05:30
sampadawagde c5a57eb065 JAVA-4012: Moved 1 article to spring-boot-persistence-mongodb 2021-01-20 22:31:35 +05:30
johnA1331 f7f017037f Update README.md 2021-01-20 22:46:34 +08:00
davidmartinezbarua 7b0ab83c8d Merge pull request #10389 from emyasa/BAEL-4601
[BAEL-4601] How to convert a Hibernate proxy to a real entity object
2021-01-17 18:52:17 -03:00
Emmanuel Yasa eddab4c557 [BAEL-4601] Revision: Simplifies assertions 2021-01-14 01:36:35 +08:00
Eric Martin f89f2b19a6 Merge pull request #10342 from amitiw4u/BAEL-4624-SpringTransactionRollback
Added changes to show transaction roll back
2021-01-12 19:40:36 -06:00
sampadawagde 3dbc22182f JAVA-3542: Added module to new parent's pom 2021-01-09 13:00:07 +05:30
sampadawagde dfe902f0a6 JAVA-3542: Moved spring-jooq inside persistence-modules 2021-01-09 12:59:21 +05:30
Loredana Crusoveanu d978e58367 Merge pull request #10405 from sampada07/JAVA-4216
JAVA-4216: Fix issue in jnosql-artemis project
2021-01-08 16:11:42 +02:00
sampadawagde 51189b8d40 JAVA-4216: Fix issue in jnosql-artemis project 2021-01-08 18:22:46 +05:30
Krzysiek ba5343cab2 JAVA-3585: Use common commons-io.version property in all child modules 2021-01-07 20:42:57 +01:00
sampadawagde e136bfb7df JAVA-4214: Fix issue with geodb repo 2021-01-07 11:06:50 +05:30
Amitabh Tiwari 3bf9bf4094 Added no roll back example 2021-01-05 20:17:31 +05:30
Krzysztof Woyke d8c26b6adb JAVA-3586: Get rid of the overriden commons-lang3.version property 2021-01-04 23:01:41 +01:00
Emmanuel Yasa 6daa38007c [BAEL-4601] How to convert a Hibernate proxy to a real entity object
* Adds Domain Models
* Adds Integration Tests
2021-01-05 01:35:53 +08:00
Krzysztof Woyke 3cb1b8536f JAVA-3586: Use commons-lang3.version property 2021-01-04 12:50:24 +01:00
Amitabh Tiwari 1b4e5782ec BAEL-4624: Review comments 2021-01-04 09:05:55 +05:30
Loredana Crusoveanu 4801636b3b Merge pull request #10332 from eugenp/JAVA-3570
JAVA-3570: Upgrade parent-boot-2 to Spring Boot 2.4.0
2020-12-30 11:40:44 +02:00
kwoyke 39390a1cb4 Merge pull request #10336 from kwoyke/JAVA-3496-2
JAVA-3496: Add integration tests for UserRepository
2020-12-29 23:40:38 +01:00
Krzysztof Woyke 962e8839d6 Merge remote-tracking branch 'upstream/master' into JAVA-3570 2020-12-29 15:11:31 +01:00
Krzysiek 061cf1a1ed JAVA-3496: Use a single common QueryApplication 2020-12-29 00:22:02 +01:00
Amitabh Tiwari d44dacaa2b Removed unwanted method 2020-12-26 06:14:52 +05:30
Amitabh Tiwari 2d2a64acbe Added changes to show transaction roll back 2020-12-25 09:06:51 +05:30
Krzysztof Woyke 6af6f685fd JAVA-3710: Replace hibernate-entitymanager dependency with hibernate-core 2020-12-24 13:07:07 +01:00
Krzysztof Woyke 95f98baeb3 JAVA-3710: Use hibernate-core in spring-jpa-2 2020-12-24 12:45:51 +01:00
Krzysztof Woyke a07556adaf JAVA-3710: Use hibernate-core in spring-jpa 2020-12-24 12:41:29 +01:00
Krzysztof Woyke 981ca0b506 JAVA-3496: Add integration tests for UserRepository 2020-12-23 11:05:24 +01:00
Krzysztof Woyke 515d213c90 Merge remote-tracking branch 'upstream/master' into JAVA-3570 2020-12-22 10:50:48 +01:00
johnA1331 42604275ff Update README.md 2020-12-16 17:24:51 +08:00
Eric Martin 50ba86c9dd Merge pull request #10314 from sk1418/jdbcurl2
[BAEL-4497] jdbc url
2020-12-13 11:47:08 -06:00
Kai Yuan 7afdb4cba7 [BAEL-4497] jdbc url 2020-12-13 17:22:09 +01:00
Krzysztof Woyke 8a264a9981 JAVA-3570: Fix unit tests in persistence-modules/redis 2020-12-11 13:16:09 +01:00
johnA1331 3b04af5f05 Update README.md 2020-12-09 18:17:32 +08:00
Emmanuel Yasa bc281bde2f [BAEL-4056] Guide to MultipleBagFetchException (#10304)
* Removes DummyEntity
* Uses Artist Entity instead of DummyEntity
2020-12-04 18:44:40 -08:00
Emmanuel Yasa cd6f187e0a [BAEL-4056] Guide to MultipleBagFetchException (#10294)
* Adds Domain Models
* Adds Integration Tests
2020-11-30 23:22:46 -08:00
johnA1331 f449b3cc37 Update README.md 2020-11-25 14:38:35 +08:00
Loredana Crusoveanu cd7c84e734 Merge pull request #10262 from johnA1331/master
BAEL-29326 - add links to github-baeldung articles
2020-11-19 20:58:30 +02:00
Cicio Flaviu a198814d31 [BAEL-4637] Performance difference between save() and saveAll() in Spring Data (#10177)
* [BAEL-4637] Performance difference between save() and saveAll() in Spring Data

* Apply suggestions from code review

* Rename IBookRepository.java to BookRepository.java
2020-11-19 15:48:03 +01:00
johnA1331 34e339767f Update README.md 2020-11-18 17:09:46 +08:00
johnA1331 dac7bca3bf Update README.md 2020-11-18 17:00:13 +08:00
Mateusz Szablak ad30d29ed6 BAEL-4723 Defining Indexes in JPA #2 (#10254)
* BAEL-4723 Defining Indexes in JPA

* unit -> integration test

* whitespaces fix

* tab to space

Co-authored-by: mateusz.szablak <mateusz.szablak@accenture.com>
2020-11-15 21:26:38 -08:00
kwoyke 810736bf23 BAEL-3565: Using enums in JPQL examples (#10248) 2020-11-14 00:28:03 +01:00
Mateusz Szablak 9bce552d6d BAEL-4723 Defining Indexes in JPA (#10247)
* BAEL-4723 Defining Indexes in JPA

* unit -> integration test

Co-authored-by: mateusz.szablak <mateusz.szablak@accenture.com>
2020-11-13 10:25:15 -08:00
johnA1331 c485b9b8d1 Update README.md 2020-11-11 21:32:16 +08:00
Jonathan Cook 0baaeb3f98 Merge pull request #10216 from emyasa/BAEL-4643
BAEL-4643: JPA CascadeType.REMOVE vs orphanRemoval
2020-11-11 11:46:00 +01:00
Jonathan Cook 75a4c2e95d Merge pull request #10219 from thejoeflow/BAEL-4635
[BAEL-4635] Tests for JPA Transient Annotation tutorial
2020-11-10 10:44:45 +01:00
Loredana Crusoveanu 65d2996c10 Merge pull request #10235 from johnA1331/master
BAEL-29324 - add links to github-baeldung articles
2020-11-06 12:41:55 +02:00
GilvanOrnelas bd6e3a5328 Fixing db indexing integration tests (#10229)
Co-authored-by: Gilvan Ornelas Fernandes Filho <gilvan.fernandes@bairesdev.com>
2020-11-06 09:04:33 +00:00
johnA1331 95cc0130a7 Update README.md 2020-11-05 14:10:38 +08:00
Emmanuel Yasa bc501e36b3 BAEL-4643: JPA CascadeType.REMOVE vs orphanRemoval
* Adds a test to OrphanRemovalIntegrationTest that expects a PersistenceException
2020-11-04 23:42:20 +08:00
Emmanuel Yasa 3139be9468 BAEL-4643: JPA CascadeType.REMOVE vs orphanRemoval
* Reformats code using the provided intelliJ-formatter.xml
2020-11-04 23:42:20 +08:00
Emmanuel Yasa 06c800c526 BAEL-4643: JPA CascadeType.REMOVE vs orphanRemoval
* Defines the Domain: ShipmentInfo, LineItem and OrderRequest entity
* Adds CascadeTypeRemoveIntegrationTest
* Adds OrphanRemovalIntegrationTest
2020-11-04 23:42:20 +08:00
joe 3686fa1cfb [BAEL-4635] Fixed tests and formatted per feedback 2020-11-02 22:05:46 -05:00
GilvanOrnelas d4a8a33604 Storing files indexed by a database (#10174)
Creating the FileLocationService to link the FileSystemRepository to the ImageDbRepository. Removing test order

Changing to BDDMockito

Changing Long wrapper for @id. Changing the test names to given-when-then pattern

Co-authored-by: Gilvan Ornelas Fernandes Filho <gilvan.fernandes@bairesdev.com>
2020-11-01 14:46:15 +00:00
joe 400cbb845d [BAEL-4635] Tests for JPA Transient Annotation tutorial 2020-10-29 20:17:31 -04:00
johnA1331 0c225ec742 Update README.md 2020-10-28 17:15:12 +08:00
johnA1331 8f28017782 Update README.md 2020-10-28 17:05:43 +08:00
johnA1331 3f049c51b5 Update README.md 2020-10-28 17:01:07 +08:00
johnA1331 c3474e7213 Update README.md 2020-10-28 16:24:05 +08:00
johnA1331 c8bd5248ed Update README.md 2020-10-28 15:45:12 +08:00
johnA1331 88820fbc63 Update README.md 2020-10-21 11:37:34 +08:00
johnA1331 e4430ea672 Create README.md 2020-10-21 11:28:46 +08:00
johnA1331 8af5182f92 Update README.md 2020-10-21 11:23:19 +08:00
Loredana e16eef7726 update jpa shared key 2020-10-20 12:33:13 +03:00
Loredana 90c65b0530 fix redis context test 2020-10-17 12:36:50 +03:00
Loredana Crusoveanu 5c29cbbb8d Merge pull request #10137 from catull/elmiminate-double-entry
Eliminate duplicate dependency spring-boot-starter-web
2020-10-16 19:05:14 +03:00
Umang Budhwar 5709eee956 BAEL-4475 (#10151)
* Added code for checking if a class is abstract or not.

* Renamed test name as per review comments.

* Added code to get database URL from Connection object.

* Refactored code to break lines.
2020-10-16 08:52:25 -05:00
Loredana 5a05897688 revert explicit junit, maven version overrides for boot projects 2020-10-14 16:16:17 +03:00
Loredana Crusoveanu ab7e2477d8 Merge pull request #10141 from johnA1331/master
BAEL-28473 - add links to github-baeldung articles
2020-10-09 16:05:20 +03:00
mdabrowski-eu 53609d6594 BAEL-4565 Object States in Hibernate's Session (#10107) 2020-10-09 07:59:51 +03:00
Jordan Simpson 7afe0a51ca Added "Unit" to the class name to satisfy the pmd.xml violation. 2020-10-08 08:42:56 -05:00
johnA1331 8b3b51c8c1 Update README.md 2020-10-08 14:56:50 +08:00
johnA1331 d4ccef2d44 Update README.md 2020-10-08 14:14:07 +08:00
johnA1331 e126cc2287 Update README.md 2020-10-08 14:12:45 +08:00
Jordan Simpson 9ee0ab2af0 Fixed test code after merge from master. 2020-10-07 23:13:14 -05:00
johnA1331 539324181f Update README.md 2020-10-07 17:32:44 +08:00
catull cfa4438c78 Eliminate duplicate dependency spring-boot-starter-web 2020-10-07 10:21:11 +02:00