Commit Graph

644 Commits

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