Commit Graph

344 Commits

Author SHA1 Message Date
Yavuz Tas 847d6ab042 Changes for BAEL-2621 (#9217)
* update dependency versions to latest

* merge repository packages

* remove obselete xml configuration

* fix formatting

* clean up

* update package name

* revert spring data jpa xml config and demonstrate how to import in PersistenceConfig by a commented @ImportResource annotation

* rename jpa repositories xml to make it more clear

* remove obselete @EnableJpaRepositories configs since we don't use spring data's jpa repositories for these congigurations
2020-05-06 21:22:23 -05:00
kwoyke 50208fb013 Verify if the connection is still alive (#9246) 2020-05-05 22:27:16 +02:00
johnA1331 9d62a60deb Update README.md 2020-05-05 17:50:35 +08:00
johnA1331 1793a19bfc Update README.md 2020-05-05 17:36:42 +08:00
johnA1331 629ba77f56 Update README.md 2020-05-05 17:27:51 +08:00
johnA1331 38bc370771 Update README.md 2020-05-05 16:47:03 +08:00
Eduard Ardeleanu 0cad7c5cc5 BAEL-3971: Generate DDL script in Spring (#9120)
* BAEL-3971: Generate DDL script in Spring

* BAEL-3971: implement review comments

* BAEL-3971: fix typo

* BAEL-3971: move code examples to module spring-data-jpa-5

Co-authored-by: ashleyfrieze <ashley@incredible.org.uk>
2020-05-05 08:37:20 +01:00
Benjamin Caure aee002eeca rename integration to live test (#9232) 2020-05-04 22:00:03 +02:00
Greg 9e90cf5c80 Merge pull request #9145 from shockwave9999/master
[BAEL-3967] Spring JPA @Embedded and @EmbeddedId
2020-05-04 14:46:57 -04:00
aitorcuesta b26b71567a [BAEL-3614] - Spring Redis Configuration From application.properties File (#9226)
* BAEL-3614 - Initial commit

* BAEL-3614 - Removing unnecessary properties
2020-05-03 13:25:39 -07:00
Arindum Roy 4487ac8654 update 2020-05-03 23:36:14 +05:30
Arindum Roy 43816bc282 update 2020-05-03 23:33:39 +05:30
Arindum Roy 50a6563e30 "updated pom.xml" 2020-05-03 23:19:33 +05:30
Arindum Roy 5724e188a0 "updated README.md" 2020-05-02 00:28:53 +05:30
Arindum Roy 8ef7cc6b81 all files 2020-05-02 00:23:59 +05:30
Arindum Roy 5bfa01ec05 "spring-data-jpa-5 new module" 2020-05-02 00:20:16 +05:30
Kostas Karavitis f964a31ffc [BAEL-3936] Merged with upstream and fixed conflicts 2020-04-28 20:35:04 +03:00
Josh Cummings 068523493b Merge pull request #9169 from kwoyke/JAVA-73
JAVA-73: Wrap up running Live Tests with Docker
2020-04-27 17:31:04 -06:00
Josh Cummings 70781cfeb1 Merge pull request #9143 from amit2103/JAVA-1273-1
update pom version from RC to GA
2020-04-27 17:18:17 -06:00
Krzysiek d2f60283b8 JAVA-73: Remove unused test methods 2020-04-26 15:46:04 +02:00
Dhawal Kapil 5c73062dab Merge pull request #9176 from sampada07/JAVA-913
JAVA-913: migrate parent-boot-1 articles to parent-boot-2
2020-04-26 13:04:01 +05:30
andrebrowne e91d8d6a6c Update pom 2020-04-25 14:33:28 -04:00
andrebrowne cabe338163 Update application.properties 2020-04-25 14:27:13 -04:00
andrebrowne a667a0191a Fix integration test 2020-04-25 14:27:12 -04:00
andrebrowne 4426454a9a Fixup variable names 2020-04-25 14:27:12 -04:00
andrebrowne 925a69b401 Java example for Hibernate Types 2020-04-25 14:27:12 -04:00
Kostas Karavitis 1278f63d03 [BAEL-3936] Upgrade hibernate and querydsl to the latest stable versions 2020-04-24 15:38:39 +03:00
kkaravitis 6a08fca7aa [BAEL-3936] Fixed format to use 2-space indenting for line continuations. 2020-04-24 15:04:44 +03:00
kkaravitis 717b0e1711 Merge branch 'master' of https://github.com/eugenp/tutorials 2020-04-24 14:31:24 +03:00
Eric Martin 5738683a5b Merge pull request #9100 from wugangca/BAEL-3961
BAEL-3961 Using a list of values in a JDBCTemplate IN clause
2020-04-23 20:08:02 -05:00
Eric Martin ed8bdf0cb5 Merge pull request #9158 from johnA1331/master
github-related test fix - BAEL-23872
2020-04-23 19:34:01 -05:00
Krzysiek ffa8e0839d JAVA-73: Fix live-test.sh and cleanup pom.xml 2020-04-23 22:38:10 +02:00
Krzysiek acf4fa5af9 JAVA-73: Move scripts under live-test-resources 2020-04-23 22:18:45 +02:00
kwoyke 20ee51ef36 Merge pull request #1 from fanatixan/bael-17468
JAVA-73
2020-04-23 22:02:28 +02:00
sampadawagde 62842f97cf JAVA-923: Migrate spring-data-dynamodb to parent-boot-2 2020-04-23 13:10:29 +05:30
Gang Wu 38f62ad24d BAEL-3961 move the sql string into a new line to improve readability. 2020-04-22 22:36:18 -06:00
Gang Wu 8985f601a7 BAEL-3961 move the sql string into a new line to improve readability. 2020-04-22 22:15:54 -06:00
sampadawagde 0cf5e36623 JAVA-922: Migrate flyway to parent-boot-2 2020-04-22 17:44:28 +05:30
johnA1331 4a75b13057 Update README.md 2020-04-21 14:15:57 +08:00
Kostas Karavitis 9d993fc5bb [BAEL-3936] Changed test methods names to follow BDD naming conventions 2020-04-20 00:29:56 +03:00
Arindum Roy 60b00e38b6 "first commit in new fork" 2020-04-19 23:03:39 +05:30
Arindum Roy c4ed1770e2 "first commit in new fork" 2020-04-19 21:46:19 +05:30
Yavuz Tas 87ac7a74be Update code base for BAEL-3872 (#9032)
* resolve an sql syntax error for H2 version 1.4.200

* update spring and spring-data-jpa version to latest
migrate spring-data-jpa Sort initializations to Sort.by static factory methods to fix compile errors

* update hibernate version to latest

* cleanup code

* show how to get a bean object from factory bean as shown in the section 4

* update mysql version and fix tests under persistence.service

* clean up code
2020-04-19 09:18:58 -05:00
amit.pandey 95578f92ea update pom version from RC to GA 2020-04-19 18:09:24 +05:30
Eric Martin 97ba63d8b4 Merge pull request #9037 from aitorcuesta/BAEL-3075
BAEL-3075 - Oracle Connection Pooling With Spring
2020-04-18 15:17:20 -05:00
Gang Wu c68c7648a3 BAEL-3961 Remove address field of Employee class. 2020-04-18 12:48:37 -06:00
Josh Cummings 748fa91464 Merge pull request #9083 from amit2103/JAVA-1192
Java 1192
2020-04-17 10:39:01 -06:00
Josh Cummings ed1f9a81ba Merge pull request #9085 from amit2103/JAVA-1199
update artifactId in pom file
2020-04-17 10:34:04 -06:00
Kostas Karavitis 36d7572276 [BAEL-3936] Fixed formatting 2020-04-17 19:24:01 +03:00
Aitor Cuesta 8c77609793 BAEL-3075 - Removing byte-buddy dependency 2020-04-15 08:01:26 +02:00
Gang Wu 78e180f35d BAEL-3961 Make the program more robust by only create the table when necessary and clean all data in the temp table. 2020-04-14 19:23:11 -06:00
Gang Wu 63027fd269 BAEL-3961 Using a list of values in a JDBCTemplate IN clause 2020-04-14 00:43:27 -06:00
Benjamin Caure bc872d3742 BAEL-3943 Bson to json (#9079) 2020-04-14 07:08:04 +02:00
Eric Martin d2d13f075e Merge pull request #9014 from dupirefr/author/BAEL-2808-uppercase_table_names_in_spring_jpa
[BAEL-2808] Customize Table Names Generation with Spring JPA
2020-04-12 11:21:17 -05:00
Aitor Cuesta 33d6f3853c BAEL-3075 - Undo whitespaces from pom.xml. README.md is replaced with the original version 2020-04-12 10:46:36 +02:00
amit.pandey 7facbd6bf6 update artifictId in pom file 2020-04-12 04:31:53 +05:30
amit.pandey b43d6e9bc8 fix junit test case 2020-04-12 01:23:02 +05:30
amit.pandey d76fdbbe14 Merge branch 'JAVA-1164' into JAVA-1192 2020-04-12 00:05:00 +05:30
amit.pandey 5b88ab42df sync source code with article 2020-04-12 00:01:36 +05:30
Loredana Crusoveanu 9d06b84d41 Merge pull request #9067 from johnA1331/master
BAEL-22989
2020-04-11 11:10:36 +03:00
Eric Martin bcf294be60 Merge pull request #9065 from alimate/BAEL-3990
BAEL-3990: Fix the integrations tests in java-cassandra
2020-04-10 21:45:24 -05:00
johnA1331 012465bed2 Create README.md 2020-04-10 16:00:00 +08:00
johnA1331 086d6a9531 Update README.md 2020-04-10 15:54:59 +08:00
Ali Dehghani 06a4e640bb Fixed a few cassandra related issues 2020-04-10 03:15:39 +04:30
Kostas Karavitis 74e02b2216 [BAEL-3936] Fixed the name of menu table 2020-04-08 18:44:32 +03:00
Kostas Karavitis 6677cf74d1 [BAEL-3936] Many to many underlying relationship test 2020-04-08 16:12:14 +03:00
Aitor Cuesta 5fc5e76929 BAEL-3075 - PR reviews, removing Oracle jars, adding extra explanation/configuration to Oracle configurations 2020-04-08 11:30:52 +02:00
johnA1331 2986e1ace5 Update README.md 2020-04-07 17:35:51 +08:00
johnA1331 2ecd4cb204 Update README.md 2020-04-07 16:27:04 +08:00
Aitor Cuesta b2bc2dca8f BAEL-3075 - Adding ojdbc8.jar, ons.jar and ucp.jar 2020-04-05 17:10:49 +02:00
dupirefr c73b8dbf72 [BAEL-2808] Migrated PostgreSQL tests to LiveTest 2020-04-05 16:31:40 +02:00
dupirefr daab2b383f [BAEL-2808] Last fix 2020-04-05 16:31:39 +02:00
dupirefr aebba04be7 [BAEL-2808] Added a few tests to illustrate my problem 2020-04-05 16:31:38 +02:00
dupirefr a3c69eba43 [BAEL-2808] Added tests for physical naming strategies 2020-04-05 16:31:37 +02:00
Aitor Cuesta 6d60aad5f9 BAEL-3075 - Initial commit 2020-04-05 12:51:27 +02:00
kkaravitis 9acc69220b [BAEL-3936] Formatted code 2020-04-05 01:11:49 +03:00
kkaravitis 5a56276893 [BAEL-3936] Initial commit 2020-04-05 00:45:15 +03:00
Ali Dehghani dc5f7efe47 Fixing the False Sharing of the Data.sql File 2020-03-31 22:04:57 +04:30
Ali Dehghani 1bc12a57df Ignoring a Bad Flaky Test 2020-03-29 13:16:38 +04:30
Yavuz Tas c5ba081f7c sample codes for article BAEL-3581 (#8942) 2020-03-25 22:23:14 -05:00
Josh Cummings ef45526d7a Merge pull request #8940 from sampada07/JAVA-4
JAVA-4: Updated README files, removed extra module
2020-03-24 23:25:16 -06:00
Eric Martin c04dad72c2 Merge pull request #8891 from wugangca/BAEL-3069
BAEL-3069 Spring jdbcTemplate Unit Testing
2020-03-24 20:24:17 -05:00
Gang Wu ff87d3ecc2 BAEL-3069 Remove final keyword, add more empty lines for readability. 2020-03-23 22:00:55 -06:00
sampadawagde a081a6cf6d JAVA-4: modified README files to add proper descriptions, and https to
some links
2020-03-22 23:40:34 +05:30
sampadawagde bc6ef10c6d JAVA-4: removed hibernate5-mapping module 2020-03-22 23:38:04 +05:30
amit.pandey 9bd0dfa6d9 updated hibernate version 2020-03-22 21:40:42 +05:30
Gang Wu 05e79680cf BAEL-3069 Remove git ignore file, add the new module name to the parent pom file. 2020-03-21 20:58:04 -06:00
Josh Cummings e39850e3b7 Merge pull request #8855 from sampada07/JAVA-4
JAVA-4 : Split or move persistence-modules\hibernate5 module
2020-03-21 12:46:12 -06:00
Gang Wu 9f3c94929a BAEL-3069 Rename the folder name to spring-persistence-simple-2 2020-03-21 11:57:30 -06:00
Gang Wu c986147850 BAEL-3069 Spring jdbcTemplate Unit Testing. Create a new module for this article. 2020-03-21 11:50:07 -06:00
Gang Wu 5e97741b07 Revert "BAEL-3069 Spring jdbcTemplate Unit Testing"
This reverts commit d4a928cdfa.
2020-03-21 11:29:55 -06:00
Loredana Crusoveanu 4bd932ba81 Merge pull request #8537 from the-magic-max/patch-1
Redundant Variable 'config'
2020-03-19 22:42:07 +02:00
Loredana Crusoveanu 992659b9f3 Merge pull request #8904 from johnA1331/master
BAEL-22474
2020-03-19 18:34:01 +02:00
petershatunov a94b56c74e lazy_load_no_trans init commit (#8736)
* lazy_load_no_trans init commit

* refactoring

* methods naming

* Update persistence-modules/spring-boot-persistence-h2/src/test/java/com/baeldung/lazy_load_no_trans/LazyLoadNoTransPropertyOnIntegrationTest.java

Co-Authored-By: KevinGilmore <kpg102@gmail.com>

* Update persistence-modules/spring-boot-persistence-h2/src/test/java/com/baeldung/lazy_load_no_trans/LazyLoadNoTransPropertyOnIntegrationTest.java

Co-Authored-By: KevinGilmore <kpg102@gmail.com>

* Update persistence-modules/spring-boot-persistence-h2/src/test/java/com/baeldung/lazy_load_no_trans/LazyLoadNoTransPropertyOffIntegrationTest.java

Co-Authored-By: KevinGilmore <kpg102@gmail.com>

* naming

* code readability

Co-authored-by: admin <git-commit-id-plugin>
Co-authored-by: KevinGilmore <kpg102@gmail.com>
2020-03-18 21:00:37 +00:00
johnA1331 087248c5e3 Update README.md 2020-03-18 14:11:14 +08:00
johnA1331 5f7e961af1 Update README.md 2020-03-18 13:10:33 +08:00
johnA1331 57c66c0906 Update README.md 2020-03-18 12:15:40 +08:00
Gang Wu d4a928cdfa BAEL-3069 Spring jdbcTemplate Unit Testing 2020-03-16 01:01:01 -06:00
Sampada f5eb0cc202 Merge branch 'master' into JAVA-4 2020-03-15 12:58:45 +05:30
sampadawagde 12034cd05c JAVA-4: Included article in README for which code belongs here 2020-03-15 12:56:22 +05:30
sampadawagde 6023de1b93 JAVA-4: Updated module pom 2020-03-15 12:55:19 +05:30
sampadawagde e1d9086ef7 JAVA-4: Updated README for original module hibernate5 2020-03-15 12:54:52 +05:30
sampadawagde bf60206022 JAVA-4: Removed hibernate5-mapping; merged into to hibernate-mapping 2020-03-15 12:53:28 +05:30
sampadawagde 729d35140e JAVA-4: Renamed hibernate5-queries to hibernate-queries 2020-03-15 12:52:48 +05:30
sampadawagde 376d0a6ff6 JAVA-4: Renamed hibernate5-jpa to hibernate-jpa 2020-03-15 12:51:47 +05:30
sampadawagde 5f8123f804 JAVA-4: Renamed hibernate5-enterprise to hibernate-enterprise 2020-03-15 12:50:17 +05:30
sampadawagde 12a7e6fdf9 JAVA-4: Renamed hibernate5-annotations to hibernate-annotations 2020-03-15 12:48:26 +05:30
sampadawagde d2d2a890fa JAVA-4: renamed to hibernate-annotations, moved couple of articles 2020-03-15 12:37:57 +05:30
Gang Wu 5aa207a2e1 Fix integration build by comment out the MySQL settings. 2020-03-13 20:31:43 -06:00
Ali Dehghani a0df759482 Forcing MongoDB to Listen to a Random Port 2020-03-12 16:44:29 +03:30
Vivek 84c78797f5 Delete everything in Redis (#8823) 2020-03-11 17:55:14 +00:00
sampadawagde 9017080633 JAVA-4 : added new module hibernate5-queries 2020-03-11 18:21:07 +05:30
sampadawagde 9f8e1b51b3 JAVA-4 : added new module hibernate5-mapping 2020-03-11 18:20:46 +05:30
sampadawagde 0bb56912ff JAVA-4 : added new module hibernate5-jpa 2020-03-11 18:20:26 +05:30
sampadawagde 074dd3e986 JAVA-4 : added new module hibernate-enterprise 2020-03-11 18:20:04 +05:30
sampadawagde 592df829e6 JAVA-4 : added new module hibernate-annotations 2020-03-11 18:19:46 +05:30
sampadawagde a5ae83d28a JAVA-4 : Split hibernate5 module to smaller parts 2020-03-11 18:18:27 +05:30
sampadawagde 25d015b3df JAVA-4 : Removed hibernate5-2 module, moved its artifacts to other
modules - hibernate-jpa and hibernate-enterprise
2020-03-11 18:17:43 +05:30
sampadawagde 7cbc45c95a JAVA-4 : Module pom update 2020-03-11 18:15:02 +05:30
johnA1331 a555e0b020 Update README.md 2020-03-02 15:54:21 +08:00
johnA1331 d2ede67d69 Update README.md 2020-03-02 14:54:27 +08:00
Eric Martin 9ad211c1de Merge pull request #8697 from wugangca/BAEL-3737
BAEL-3737 Calling Stored Procedures from Spring Data JPA Repositories
2020-02-28 23:24:52 -06:00
Gang Wu c1124dc92c BAEL-3737 Put more examples on procedure reference and move the project to persistence-modules/spring-data-jpa-4/ 2020-02-25 00:01:04 -07:00
Krzysztof Woyke 4cb11e3945 JAVA-143: Migrate spring-jpa to com.baeldung 2020-02-18 12:43:02 +01:00
Krzysiek 173440f519 JAVA-143: Migrate spring-hibernate-5 to com.baeldung 2020-02-17 21:09:56 +01:00
Krzysiek 9b18dff3cb JAVA-143: Migrate spring-hibernate4 to com.baeldung 2020-02-17 21:05:33 +01:00
Krzysiek 233891c107 JAVA-143: Migrate spring-hibernate-3 to com.baeldung 2020-02-17 20:57:44 +01:00
Loredana Crusoveanu 9e421b1247 Merge pull request #8716 from kwoyke/JAVA-142
JAVA-142: Standardize packages in persistence-modules (part 2)
2020-02-15 15:04:16 +02:00
Sampada 2816111e98 BAEL-2972 : MongoDB Aggregations Using Java (#8718) 2020-02-13 10:01:19 -08:00
Krzysiek f42ae77086 JAVA-142: Migrate spring-data-couchbase-2 to com.baeldung 2020-02-12 20:43:47 +01:00
Krzysiek f2e0a7521c JAVA-142: Migrate spring-data-eclipselink to com.baeldung 2020-02-12 20:20:32 +01:00
Krzysiek a372b7b2e6 JAVA-142: Migrate spring-data-elasticsearch to com.baeldung 2020-02-12 20:15:43 +01:00
Krzysiek fe09718224 JAVA-142: Migrate spring-data-gemfire to com.baeldung 2020-02-12 20:13:35 +01:00
Krzysiek 17f756e939 JAVA-142: Migrate spring-data-jpa to com.baeldung 2020-02-12 20:10:26 +01:00
Krzysiek e12be0bd59 JAVA-142: Migrate spring-data-neo4j to com.baeldung 2020-02-12 20:08:11 +01:00
Krzysiek adc5675c61 JAVA-142: Migrate spring-data-keyvalue to com.baeldung 2020-02-12 20:00:25 +01:00
Krzysiek 9ce30c3e78 JAVA-142: Migrate spring-data-redis to com.baeldung 2020-02-12 19:55:28 +01:00
Krzysiek 09830d27d1 JAVA-142: Migrate spring-data-solr to com.baeldung 2020-02-12 19:42:38 +01:00
Tapan Avasthi 61787725fa Resolve Redis Client Connection Issue in Integration Test
- Resolves a race condition where a client instance is closed
  before it can be used by another test
2020-02-12 23:28:12 +05:30
johnA1331 c39d3354f7 Update README.md 2020-02-10 14:30:25 +08:00
johnA1331 7a6e21c567 Update README.md 2020-02-10 14:15:25 +08:00
johnA1331 88401df6b1 Update README.md 2020-02-10 13:30:56 +08:00
johnA1331 e1ac5ff11c Update README.md 2020-02-10 13:29:56 +08:00
Loredana Crusoveanu fbbafeb4d2 Merge pull request #8681 from kwoyke/BAEL-21730
BAEL-21730: Standardize packages in persistence-modules (part 1)
2020-02-08 22:18:51 +02:00
Krzysiek f3e56b6797 BAEL-21730: Migrate spring-data-cassandra to com.baeldung 2020-02-08 11:59:21 +01:00
Krzysiek 5f9f5dd922 BAEL-21730: Migrate r2dbc to com.baeldung 2020-02-08 11:46:22 +01:00
Krzysiek ee06ac88bd BAEL-21730: Migrate querydsl to com.baeldung 2020-02-08 11:37:18 +01:00
Krzysiek 4d9d171bb8 BAEL-21730: Migrate hbase to com.baeldung 2020-02-08 11:30:26 +01:00
johnA1331 616377bdec Update README.md 2020-02-05 16:18:57 +08:00
Eric Martin 07a2624110 Merge pull request #8567 from johnA1331/master
Bi-monthly test fix - BAEL-20909
2020-01-31 20:24:34 -06:00