Commit Graph

876 Commits

Author SHA1 Message Date
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
Jordan Simpson 94e2a14ded Merge branch 'master' into BAEL-4590 2020-10-03 14:53:34 -05:00
Jordan Simpson 43ad7afa07 Added code examples from the article. 2020-10-03 00:42:54 -05:00
majajoksovic d3744f7694 BAEL-4505 (#10119)
* initial commit

* fixed formatting

* formatting changes

* test fix
2020-10-02 10:23:50 -07:00
johnA1331 99d35b68e3 Create README.md 2020-10-02 13:36:59 +08:00
Dhawal Kapil fc1964251c JAVA-2432 Move articles out of spring-hibernate4
Removed legacy hibernate-4-spring article
2020-09-30 19:19:44 +05:30
Loredana Crusoveanu 11818a04a3 Merge pull request #10029 from Maiklins/Java-2136-update-jackson-version-in-main-pom
Java-2136 update jackson version in main pom
2020-09-30 10:53:54 +03:00
Dhawal Kapil fd8be53f0a Merge pull request #10103 from sampada07/JAVA-2432
JAVA-2432: Move articles out of spring-hibernate4
2020-09-29 18:33:00 +05:30
Krzysztof Majewski 42141b8889 BAEL-4520 Getting Started with jOOQ (#10101)
Co-authored-by: Krzysztof Majewski <krzysztof.majewski.km1@contractors.roche.com>
2020-09-28 20:30:32 -07:00
sampadawagde 6d9024049e JAVA-2432: Added link to existing article 2020-09-28 23:18:18 +05:30
sampadawagde 2dd77a259d JAVA-2432: Moved 5 articles to spring-data-jpa-query-2 2020-09-28 23:17:31 +05:30
sampadawagde 7de65d1211 JAVA-2432: removed unused module from parent pom 2020-09-28 23:13:49 +05:30
sampadawagde d77c22b05f JAVA-2432: Moved 1 article to hibernate-enterprise 2020-09-28 23:13:14 +05:30
sampadawagde 0ba96c9c43 JAVA-2432: Moved 1 article to hibernate-enterprise 2020-09-28 23:12:26 +05:30
sampadawagde 7ee94d7455 JAVA-2432: Moved articles from here to other modules 2020-09-28 23:10:40 +05:30
fdpro c6b1da4180 [JAVA-1669] Added missing byte-buddy dependency 2020-09-26 08:23:21 +02:00
Krzysztof Majewski 32f4eeef02 BAEL-4520 Getting Started with jOOQ (#10086)
* BAEL-4520 Getting Started with jOOQ

* add generated sources

* remove maven files

* create tests

Co-authored-by: Krzysztof Majewski <krzysztof.majewski.km1@contractors.roche.com>
2020-09-25 14:39:32 -07:00
Loredana Crusoveanu 62402477f1 Merge pull request #10081 from kwoyke/JAVA-2974
JAVA-2974: Clean up the pom.xml in spring-data-jpa-enterprise
2020-09-24 11:38:34 +03:00
Dhawal Kapil 952e7d3a0d Merge pull request #10080 from dupirefr/team/JAVA-2590-jdbctest_annotation
[JAVA-2590] Added example of @JdbcTest usage
2020-09-24 00:31:23 +05:30
Krzysiek b800a844fd JAVA-2974: Clean up the pom.xml in spring-data-jpa-enterprise 2020-09-23 20:14:15 +02:00
François Dupire 68287516fe [JAVA-1669] Upgrading JUnit and Maven Surefire Plugin versions (#10018)
* [JAVA-1669] Upgrading JUnit and Maven Surefire Plugin versions

* Upgraded JUnit version for persistence-module and the modules that directly depends on it

* Upgraded Maven Surefire Plugin version for these as well

* Either made modules inheriting from persistence-modules instead of parent-modules or added relative paths when already inheriting persistence-modules

* Upgraded versions in other modules

* [JAVA-1669] Removed explicit relativePath in pom.xml when default value used

* [JAVA-1669] Minor fix
2020-09-23 23:40:21 +05:30
fdpro a2751ea0d5 [JAVA-2590] Added example of @JdbcTest usage 2020-09-23 19:31:59 +02:00
Loredana 4a7cde7d32 Merge branch 'master' of https://github.com/eugenp/tutorials 2020-09-18 12:04:36 +03:00
Krzysiek 1509fa5ddc JAVA-2904: Fix README.MD files extension 2020-09-16 22:20:32 +02:00
johnA1331 1cf9a48f68 Update README.MD 2020-09-16 23:45:40 +08:00
mikr 6927cc7237 Java-2136 Use Jackson version from main pom in all other applicable modules 2020-09-14 13:11:59 +02:00
kwoyke bd9ac72a7c BAEL-3712: Fix entities names (#10028) 2020-09-14 11:24:29 +02:00
kwoyke c3cd93fcdb JAVA-2563: Upgrade Spring Boot version to 2.3.3.RELEASE (#9985)
* JAVA-2563: Upgrade Spring Boot version to 2.3.3.RELEASE

* JAVA-2563: Downgrade spring-cloud-connectors-heroku to Spring Boot 2.2.6.RELEASE

* JAVA-2563: Add joda-time version

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Use MongoClients factory instead of MongoClient directly

* JAVA-2563: Downgrade spring-5-data-reactive to Spring Boot 2.2.6.RELEASE

* JAVA-2563: Switch back to default bootstrap mode for JPA

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Switch from ServerHttpRequest to ServerWebExchange interface

* JAVA-2563: Use OutputCaptureRule instead of OutputCapture

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Fix Jackson dependency

* JAVA-2563: Fix ManualEmbeddedMongoDbIntegrationTest

* JAVA-2563: Replace validation-api with spring-boot-starter-validation

* JAVA-2563: Fix usage of deprecated getErrorAttributes method

* JAVA-2563: Downgrade spring-data-cassandra-reactive to Spring Boot 2.2.6.RELEASE

* JAVA-2563: Set spring.datasource.generate-unique-name to false in spring-session-jdbc
2020-09-11 18:19:02 +05:30
François Dupire 0acc6a25e1 [JAVA-2306] Fixed failing integration test (#9999) 2020-09-10 20:57:24 +05:30
Dhawal Kapil 672f33e339 Merge pull request #9988 from dupirefr/team/JAVA-2430-migrate_spring_data_cassandra_to_parent_boot_5
[JAVA-2430] Migrated spring-data-cassandra to parent-boot-5
2020-09-08 23:58:36 +05:30
Dhawal Kapil f5f28c0035 Merge pull request #9989 from dupirefr/team/JAVA-2429-migrate_spring_data_solr_to_parent_boot_5
[JAVA-2429] Migrated spring-data-solr module to parent-boot-5
2020-09-08 23:57:27 +05:30
fdpro 760d54eb43 [JAVA-2430] Migrated spring-data-cassandra to parent-boot-5 2020-09-08 11:58:11 +02:00
fdpro 98bdb5df36 [JAVA-2429] Migrated spring-data-solr module to parent-boot-5 2020-09-08 11:53:26 +02:00
Loredana f5b4367c1c formatting, remove unneeded dependency 2020-09-07 14:53:22 +03:00
Loredana Crusoveanu f3b82b28e8 Merge pull request #9911 from amit2103/JAVA-2413
updated spring data, mongodb versions
2020-09-07 10:54:28 +03:00
developerDiv 1927bb1b46 BAEL-4287 - Rolling Back Migrations with Flyway (#9910)
* First commit - Flyway Undo

* Simplify migrations
Move to own package
2020-09-06 16:27:59 +01:00
amit.pandey be8c51e3e0 removed unwanted dependency from pom 2020-09-06 20:05:15 +05:30
amit.pandey 777aa4b4ea updated spring-data-mongo and used compatible mongo version 2020-09-06 00:31:09 +05:30
fdpro 68b732beb0 [JAVA-2306] Fixes after Loredana's review
* Brought back UserRepositoryCustomImpl.java

* Added link to https://www.baeldung.com/spring-data-jpa-query in spring-data-jpa-query-2 README

* Migrated code for https://www.baeldung.com/spring-data-jpa-query-by-date

* Migrated https://www.baeldung.com/spring-vs-jta-transactional to spring-persistence-simple
2020-09-05 15:37:32 +02:00
fdpro 285890231d [JAVA-2306] Removed unnecessary Bar field in Foo class 2020-09-02 20:22:44 +02:00
fdpro 3b41d6352d [JAVA-2306] Moved last article to spring-jdbc 2020-09-02 20:22:44 +02:00
fdpro 910bda6ef1 [JAVA-2306] Fixed READMEs
* spring-jpa-2

* spring-data-jpa-repo-2

* spring-data-jpa-query-2

* spring-jdbc

* spring-persistence-simple
2020-09-02 20:22:44 +02:00
fdpro eb4c306451 [JAVA-2306] Moved articles from spring-persistence-simple-2
* https://www.baeldung.com/spring-jdbctemplate-testing went to spring-jdbc

* https://www.baeldung.com/spring-jdbctemplate-in-list went to spring-jdbc

* https://www.baeldung.com/spring-mock-jndi-datasource went to spring-persistence-simple

* Deleted spring-persistence-simple-2 module as all articles have been moved
2020-09-02 20:22:44 +02:00
fdpro 4e4ac650fa [JAVA-2306] Moved articles from spring-persistence-simple
* https://www.baeldung.com/the-persistence-layer-with-spring-and-jpa went into spring-jpa-2

* https://www.baeldung.com/hibernate-5-spring went to spring-jpa-2

* https://www.baeldung.com/transaction-configuration-with-jpa-and-spring went to spring-jpa-2

* https://www.baeldung.com/persistence-layer-with-spring-and-hibernate went to spring-jpa-2

* https://www.baeldung.com/simplifying-the-data-access-layer-with-spring-and-java-generics went to spring-jpa-2

* https://www.baeldung.com/the-persistence-layer-with-spring-data-jpa went to spring-data-jpa-repo-2

* https://www.baeldung.com/spring-data-jpa-query went to spring-data-jpa-query-2

* https://www.baeldung.com/spring-jdbc-jdbctemplate moved to spring-jdbc

* Removed spring-persistence-simple module as all articles have been moved
2020-09-02 20:22:44 +02:00
François Dupire 0a24acf927 [JAVA-2306] Fix - Added spring-data-jpa-query-2 to modules list 2020-09-02 20:22:44 +02:00
mikr 87f19ad21a Reduce logging - Modules api-gateway, spring-boot-springdoc, spring-zuul-rate-limiting, hibernate-ogm, jpa-hibernate-cascade-type 2020-08-30 16:54:15 +02:00
Loredana Crusoveanu fa09cd6854 Merge pull request #9933 from sampada07/master
Fix for String equals check
2020-08-28 14:05:23 +03:00
sampadawagde 0c8f7f6716 Fix for String equals check 2020-08-28 15:39:15 +05:30
kwoyke 482357866e BAEL-4577: Fix @MapsIs usage and add integration test (#9930) 2020-08-28 08:01:12 +02:00
amit.pandey 14260c7d30 updated spring data, mongodb versions 2020-08-24 01:00:05 +05:30
johnA1331 bd82dcaec9 Update README.md 2020-08-20 18:38:27 +08:00
johnA1331 2beedd866c Create README.md 2020-08-20 18:37:21 +08:00
johnA1331 45ffc02262 Update README.md 2020-08-20 18:22:29 +08:00
johnA1331 44a3e5fd1e Update README.md 2020-08-20 18:21:02 +08:00
johnA1331 138fef96a4 Create README.md 2020-08-20 18:02:34 +08:00
johnA1331 8a5d692509 Update README.MD 2020-08-20 17:42:07 +08:00
Krzysztof Woyke e14dcda200 Merge remote-tracking branch 'upstream/master' into JAVA-2305 2020-08-19 10:22:22 +02:00
Maciej Główka e4f034795d BAEL-4057: Hibernate Hi/Lo algorithm example (#9802)
* BAEL-4057: Hibernate Hi/Lo algorithm example

* BAEL-4057: fixed code indentation
2020-08-17 18:11:57 +01:00
rpvilao 27592171ba Merge pull request #9771 from ankurguptajec/master
BAEL-4025 : Spring Data Azure Cosmos DB
2020-08-17 14:25:06 +01:00
Amit Pandey 2bad67ff38 added modules in parent (#9842)
* added modules in parent

* commented failed modules in pom
2020-08-17 10:33:20 +05:30
Ankur Gupta 5eefa6b148 Update pom.xml
removing extra spaces
2020-08-16 13:36:23 +05:30
Ankur Gupta 1e96de4b64 Update pom.xml
Adding spring-data-cosmosdb module in the persistence module
2020-08-16 13:35:04 +05:30
mikr ab056706ac Java-70 Remove unnecessary files from spring-jpa-2 + include in main persistence pom file 2020-08-15 20:02:21 +02:00
Ankur Gupta 9c846f0e84 keeping Configuration in Separate class 2020-08-15 03:21:29 +05:30
Loredana Crusoveanu f055e59e61 Merge pull request #9856 from johnA1331/master
BAEL-27115 - github-related test fix (results: 03.08.2020)
2020-08-13 16:41:23 +03:00
sahilsingla112 a0ee1712e6 BAEL-4431-jdbcmetadata: Article about extracting metadata using JDBC (#9815)
* BAEL-4431-jdbcmetadata: Article about extracting metadata using JDBC

* BAEL-4431-jdbcmetadata: Review comments, fixed formatting issues by using the recommended intelij formatter

Co-authored-by: sahil.singla <sahil.singla@99acres.com>
2020-08-13 08:37:46 -05:00
Greg 660b20c569 Merge pull request #9715 from andrebrowne/master
BAEL-4077 JPA Entity Equality
2020-08-12 11:40:40 -04:00
Dhawal Kapil 70eb84d843 Merge pull request #9847 from kwoyke/JAVA-2380
JAVA-2380: Fix failing integration tests in the spring-data-jpa-enter…
2020-08-12 08:00:44 +05:30
Loredana Crusoveanu 22da30ca46 Merge pull request #9822 from Maiklins/Java-65-split-or-move-persistence-modules-spring-jpa-module
Java-65 split or move persistence modules spring jpa module
2020-08-11 17:48:14 +03:00
Krzysztof Woyke 96502d8626 JAVA-2380: Fix failing integration tests in the spring-data-jpa-enterprise 2020-08-11 15:09:34 +02:00