Commit Graph

582 Commits

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