Commit Graph

449 Commits

Author SHA1 Message Date
Jonathan Cook 8834be5209 Merge pull request #9367 from azhwani/jndidatasource
BAEL-3830: Test a mock JNDI datasource with Spring
2020-06-18 15:29:02 +02:00
johnA1331 0469f68ad5 Update README.md 2020-06-18 15:11:57 +08:00
johnA1331 e3e0eb279b Create README.md 2020-06-18 14:44:48 +08:00
johnA1331 0bb990bbbb Update README.md 2020-06-18 14:21:37 +08:00
johnA1331 760169677b Create README.md 2020-06-18 13:21:35 +08:00
Philippe 6f4948782c [BAEL-2322] Code formatting 2020-06-14 16:54:49 -03:00
Philippe 00a5903c46 [BAEL-2322] Code formatting 2020-06-14 16:54:22 -03:00
johnA1331 5ba1cd0b0f Merge branch 'master' into master 2020-06-14 10:42:24 +08:00
Mona Mohamadinia a6d6edb494 BAEL-4125: How to get the insert ID in JDBC? (#9437)
* Added the Code Samples

* Refactor

* Latest H2 Version

* Avoid using * imports

* Using givenXXX_whenYYY_thenZZZ Naming Convention
2020-06-13 10:53:32 +01:00
KevinGilmore ca9ab77e7c Bael 3766 update README (#9493)
* BAEL-3336 BAEL-3058 add links

* BAEL-3319: add link

* BAEL-3284: add link

* BAEL-3198: add link to article

* BAEL-3479: add link to article

* BAEL-3485: add article link

* SCALA-38: move to new package and add link back to article

* SCALA-38: add imports back into unit test

* BAEL-3908: add link back to article

* BAEL-2893 BAEL-3927 add link back to article

* BAEL-3766: add link back to article
2020-06-12 20:32:04 -05:00
Joe Zhang c529170a43 Leasy Zhang/shiwangzhihe@gmail.com (#9445)
* add primary key demo

* add primary key

* use eclipse link

* update unit test

* refact package name

* format code with space

Co-authored-by: joe zhang <joe.zhang@ringcentral.com>
2020-06-12 09:18:54 -05:00
Josh Cummings fb4cef2e83 Merge pull request #9461 from eugenp/JAVA-1782
JAVA-1782: Remove byte-buddy from the main pom.xml
2020-06-10 21:30:20 -06:00
azhwani fa222f5719 updating jndi.properties 2020-06-10 18:58:21 +01:00
azhwani 5c9fbfc4c5 update datasource.properties 2020-06-10 18:54:37 +01:00
azhwani b9befff7b5 updating jndi.properties 2020-06-10 18:46:08 +01:00
azhwani ecf97d79ea update jndi.properties 2020-06-10 18:41:33 +01:00
azhwani ce269ad6ba update SimpleJNDIUnitTest 2020-06-10 11:14:34 +01:00
azhwani c11b7c225e update SimpleJNDIUnitTest 2020-06-10 10:34:38 +01:00
azhwani a7697334bd update SimpleJNDIUnitTest 2020-06-10 10:18:21 +01:00
Philippe 0c2aedbe8f [BAEL-2322] Relocating module 2020-06-10 01:20:24 -03:00
Philippe bdcd321470 [BAEL-2322] Relocating module 2020-06-10 01:16:31 -03:00
azhwani fc78b24107 quick update 2020-06-10 00:33:21 +01:00
azhwani 861030bef5 Add jndi.properties 2020-06-10 00:20:45 +01:00
azhwani a14f5ad897 remove System properties from unit tests 2020-06-10 00:01:44 +01:00
azhwani 7d7662a352 add jndi.properties 2020-06-10 00:31:44 +02:00
johnA1331 e5f4d1689c Update README.md 2020-06-09 21:09:23 +08:00
johnA1331 aeb4f4129d Update README.md 2020-06-09 19:22:14 +08:00
johnA1331 a6b389d980 Update README.md 2020-06-09 19:00:24 +08:00
johnA1331 a5d1b13ea5 Update README.md 2020-06-09 18:52:41 +08:00
Krzysztof Woyke 03903e9ee5 JAVA-1782: Add byte-buddy explicitly to avoid versions confilict 2020-06-08 10:35:11 +02:00
amit.pandey 4fa2ffb229 pom formatting - make artifact name same as module name 2020-06-07 20:28:16 +05:30
Josh Cummings 357ecb0341 Merge pull request #9440 from kwoyke/JAVA-1782
JAVA-1782: Add byte-buddy dependency to the parent-boot-2
2020-06-06 13:41:27 -06:00
Josh Cummings d6a1b77166 Merge pull request #9426 from kwoyke/JAVA-1644
JAVA-1644: Remove overriden spring-boot.version property
2020-06-06 12:06:29 -06:00
Krzysztof Woyke b8a3dd7a68 JAVA-1782: Remove byte-buddy dep from parent-boot-2's children 2020-06-05 15:38:09 +02:00
bragilev 3078464b95 Bael-3386 (#9231)
* bragilev

* Delete ShoppingListApplication.java

* BAEL-3386

* Revert "bragilev"

This reverts commit dbf2a21ba4fe2a60c518beecda7ab33746977252.

* Revert "Delete ShoppingListApplication.java"

This reverts commit 640bb544e6cd8eda6d1fe6a38607323871ddb957.

* Revert "Revert "Delete ShoppingListApplication.java""

This reverts commit f56864e46db92c4f981bdc38f78fbabade72156c.
2020-06-04 15:58:48 +01:00
Krzysztof Woyke f0befa0f8b JAVA-1644: Remove overriden spring-boot.version property 2020-06-03 09:00:03 +02:00
azhwani b1214ca64d remove tabs from pom.xml 2020-06-02 13:54:10 +01:00
azhwani b508ff2904 remove tabs and extra spaces from pom.xml 2020-06-02 13:48:46 +01:00
azhwani fd94f30e26 clear System properties when the test tears down 2020-06-02 13:37:36 +01:00
azhwani 684e5a4a6c remove tabs and extra spaces from pom.xml 2020-06-02 13:28:02 +01:00
Eric Martin f5c5cc5290 Merge pull request #9268 from mguarnaccia/BAEL-3985
[BAEL-3985] First commit
2020-06-01 19:52:25 -05:00
Michele Guarnaccia 8477fd9279 Renamed test methods 2020-06-01 11:09:35 +02:00
Loredana Crusoveanu b2670e6e98 Merge pull request #9323 from mathieufortin01/master
BAEL-3676 Fix failing manual test in sping-data-elasticsearch module
2020-06-01 09:06:10 +03:00
Loredana Crusoveanu 8110e5b827 Merge pull request #9340 from ashleyfrieze/BAEL-3615-redis-delete-fix
BAEL-3615-Rework the delete everything in Redis example
2020-05-31 22:29:02 +03:00
rpvilao 4c1af8f004 Merge pull request #9383 from andrebrowne/BAEL-3341
BAEL-3341 Rename test dependent on database
2020-05-28 09:58:00 +02:00
andrebrowne 547a57c3c8 BAEL-3341 Rename test dependent on database 2020-05-27 20:42:38 -04:00
Ali Dehghani 3582280608 Fixed the Datasource Assertion Issue 2020-05-27 22:25:08 +04:30
Michele Guarnaccia e1c3aed23b Added @Query method + clean 2020-05-27 19:43:04 +02:00
Josh Cummings 89d6a2f15a Merge pull request #9358 from kwoyke/JAVA-1635
JAVA-1635: Remove unnecessary dependencies and overridden spring-boot…
2020-05-27 09:30:11 -06:00
Josh Cummings 436998de1f Merge pull request #9333 from Maiklins/Java-1524-split-move-spring-boot-persistence
BAEL-1524 Change http into https
2020-05-27 09:29:21 -06:00
azhwani 954d6b5be9 Add unit tests 2020-05-26 15:34:41 +01:00
azhwani 33ba33867f Create datasource.properties file 2020-05-26 15:34:02 +01:00
azhwani f93b433ed8 Add simple-jndi to pom.xml 2020-05-26 15:32:56 +01:00
Ashley Frieze 8a771a8b46 Rework the delete everything in Redis example 2020-05-25 21:06:26 +01:00
Krzysztof Woyke 3c455c5c56 JAVA-1635: Remove unnecessary dependencies and overridden spring-boot.version 2020-05-25 13:03:25 +02:00
Loredana Crusoveanu 7742fe6c9f Merge pull request #9267 from eugenp/lor6-patch-1
Update README.md
2020-05-24 15:37:46 +03:00
Michele Guarnaccia ab1114fb7d Refactored packages 2020-05-24 11:45:17 +02:00
Michele Guarnaccia 715147e7dc Refactored packages, added test cases, added structured class case 2020-05-24 11:44:26 +02:00
kwoyke f48582cfe1 BAEL-4079: Add Oracle dependencies (#9338) 2020-05-23 19:55:53 +02:00
rpvilao e689beb984 Merge pull request #9178 from andrebrowne/BAEL-3341
BAEL-3341 A Guide to Hibernate Types Project
2020-05-21 21:11:01 +02:00
mikr 6eaf9840a0 BAEL-1524 Change http into https 2020-05-21 12:08:11 +02:00
Josh Cummings 9c14404de9 Merge pull request #9306 from Maiklins/Java-1524-split-move-spring-boot-persistence
Java 1524 split move spring boot persistence
2020-05-19 19:38:23 -06:00
Mathieu Fortin 177bb9c897 removed unecessary dependencies 2020-05-19 19:54:29 -04:00
Mathieu Fortin cffeff11ab removed unecessary dependencies 2020-05-19 19:53:23 -04:00
Mathieu Fortin 458699cb5b added back elasticsearch dependency 2020-05-19 19:48:11 -04:00
Mathieu Fortin 3fc4ed23a4 upgrade to 4.0.0.RELEASE 2020-05-19 19:44:42 -04:00
Mathieu Fortin 40aa75eec1 fixed formatting according to eclipse formatter 2020-05-19 19:24:29 -04:00
Mathieu Fortin 1ed9c7db32 fixed mapping and tests 2020-05-19 19:24:29 -04:00
Mathieu Fortin 6f9e27dc59 fixed most tests 2020-05-19 19:24:29 -04:00
Mathieu Fortin 95e4e7326d removed ArticleService 2020-05-19 19:24:29 -04:00
Mathieu Fortin 58e44705b2 fixed format 2020-05-19 19:24:29 -04:00
Mathieu Fortin 2c5c556fed fixed tests 2020-05-19 19:24:29 -04:00
Mathieu Fortin c1d547c5f0 fixed tests 2020-05-19 19:24:29 -04:00
Mathieu Fortin 745d5edda1 upgraded libs, moved to RestHighLevelClient 2020-05-19 19:24:29 -04:00
Michele Guarnaccia cd51e118df Fixed compilation error 2020-05-18 19:15:18 +02:00
andrebrowne aca989958f Remove utf8.cnf 2020-05-17 10:17:12 -04:00
andrebrowne ade74299c8 Remove build plugins 2020-05-17 10:11:56 -04:00
andrebrowne b9ae73e234 Merge branch 'BAEL-3341' of github.com:andrebrowne/tutorials into BAEL-3341 2020-05-17 10:00:17 -04:00
andrebrowne 488989e3de Update pom.xml 2020-05-17 10:00:00 -04:00
andrebrowne 8a30bb544c Update pom.xml 2020-05-17 09:50:24 -04:00
andrebrowne aa9ee72e9e Update create-database.sh 2020-05-17 09:49:42 -04:00
andrebrowne 2819b53e15 Make shell script executable 2020-05-17 09:12:52 -04:00
andrebrowne 8fd2a5ee8d Create create-database.sh 2020-05-17 09:10:36 -04:00
andrebrowne cc2dfb4206 Remove maven wrapper files 2020-05-17 08:52:18 -04:00
andrebrowne d44a7f3d1c Rename to hibernate-libraries 2020-05-17 08:46:23 -04:00
mikr dca1a9fb3f BAEL-1524 Fix test 2020-05-16 18:20:33 +02:00
Michele Guarnaccia fbefae05ec Merge remote-tracking branch 'origin/BAEL-3985' into BAEL-3985 2020-05-16 17:56:29 +02:00
Michele Guarnaccia 9ea4e4f04e Simplified + refactored 2020-05-16 17:56:00 +02:00
mikr 94ed56e4f5 BAEL-1524 Put back HikariCP 2020-05-16 17:21:28 +02:00
mikr 3d9c2403ab BAEL-1524 Put back HikariCP 2020-05-16 17:17:21 +02:00
mikr 958435e0b3 BAEL-1524 Add HikariCP exclusion to Spring Boot Data JPA dependency 2020-05-16 17:04:21 +02:00
mikr 8c1e57cc58 Merge branch 'master' of https://github.com/Maiklins/tutorials into Java-1524-split-move-spring-boot-persistence
 Conflicts:
	persistence-modules/spring-boot-persistence-2/README.md
2020-05-16 16:47:19 +02:00
Loredana Crusoveanu b45a712f6a Merge pull request #9276 from johnA1331/master
BAEL-24104 - add links to github-baeldung articles
2020-05-15 15:15:19 +03:00
Benjamin Caure b48a87a352 Copy "BSON to JSON" tutorial entities to dedicated package (#9283)
com.baeldung.bsontojson
2020-05-13 17:43:22 +02:00
johnA1331 6786c93bc0 Update README.md 2020-05-12 16:56:57 +08:00
johnA1331 1409c871c6 Update README.md 2020-05-12 16:50:35 +08:00
johnA1331 8f0a779211 Update README.md 2020-05-12 16:46:29 +08:00
johnA1331 8c11a08258 Update README.md 2020-05-12 15:36:47 +08:00
johnA1331 77ebd0332e Update README.md 2020-05-12 15:08:21 +08:00
mguarnaccia 037d20873e Merge branch 'master' into BAEL-3985 2020-05-10 18:47:18 +02:00
Michele Guarnaccia 4f7b0d6a64 First commit 2020-05-10 18:40:27 +02:00
Loredana Crusoveanu 70379f1010 Update README.md 2020-05-10 18:07:39 +03:00
Cicio Flaviu af387990c8 BAEL-3849 Implemented example code for comparing Transactional. (#9261) 2020-05-10 07:43:51 +02:00
mikr c2637f1509 BAEL-1524 Split spring-boot-persistence module 2020-05-09 14:56:21 +02:00
johnA1331 7b80e93607 Merge branch 'master' into master 2020-05-07 11:05:00 +08:00
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