Commit Graph

41 Commits

Author SHA1 Message Date
YuCheng Hu d3af25788b
Java 8 版本合并 2024-05-01 12:13:04 -04:00
YuCheng Hu a51b7b55d9
Merge remote-tracking branch 'Baeldung/master' into active_mq
# Conflicts:
#	.gitignore
#	LICENSE
#	README.md
#	core-java-modules/README.md
#	core-java-modules/core-java-11/README.md
#	core-java-modules/core-java-11/pom.xml
#	core-java-modules/core-java-8/README.md
#	core-java-modules/core-java-8/pom.xml
#	core-java-modules/core-java-8/src/main/resources/logback.xml
#	core-java-modules/core-java-annotations/README.md
#	core-java-modules/core-java-annotations/pom.xml
#	core-java-modules/core-java-collections-2/README.md
#	core-java-modules/core-java-collections-2/pom.xml
#	core-java-modules/core-java-collections-3/README.md
#	core-java-modules/core-java-collections-3/pom.xml
#	core-java-modules/core-java-collections-conversions-2/README.md
#	core-java-modules/core-java-collections-conversions-2/pom.xml
#	core-java-modules/core-java-collections-conversions/README.md
#	core-java-modules/core-java-collections-conversions/pom.xml
#	core-java-modules/core-java-collections-list/README.md
#	core-java-modules/core-java-collections-list/pom.xml
#	core-java-modules/core-java-collections/pom.xml
#	core-java-modules/core-java-datetime-conversion/README.md
#	core-java-modules/core-java-datetime-conversion/pom.xml
#	core-java-modules/core-java-datetime-conversion/src/test/java/com/baeldung/datetime/ConvertInstantToTimestampUnitTest.java
#	core-java-modules/core-java-io-2/pom.xml
#	core-java-modules/core-java-io/README.md
#	core-java-modules/core-java-io/pom.xml
#	core-java-modules/core-java-io/src/test/resources/fileTest.txt
#	core-java-modules/core-java-io/src/test/resources/sampleTextFile.txt
#	core-java-modules/core-java-lambdas/README.md
#	core-java-modules/core-java-lambdas/pom.xml
#	core-java-modules/core-java-serialization/pom.xml
#	core-java-modules/core-java-streams/README.md
#	core-java-modules/core-java-streams/pom.xml
#	core-java-modules/core-java-strings/README.md
#	core-java-modules/core-java-strings/pom.xml
#	core-java-modules/core-java-strings/src/test/resources/stringtoolong.txt
#	core-java-modules/core-java-uuid/README.md
#	core-java-modules/core-java-uuid/pom.xml
#	core-java-modules/pom.xml
#	image-processing/README.md
#	image-processing/pom.xml
#	image-processing/src/main/java/com/baeldung/imageprocessing/addingtext/AddText.java
#	image-processing/src/main/java/com/baeldung/imageprocessing/opencv/CameraStream.java
#	jackson-modules/jackson-annotations/README.md
#	jackson-modules/jackson-annotations/pom.xml
#	jackson-modules/jackson-conversions-2/README.md
#	jackson-modules/jackson-conversions-2/pom.xml
#	jackson-modules/jackson-conversions/README.md
#	jackson-modules/jackson-conversions/pom.xml
#	jackson-modules/jackson-custom-conversions/README.md
#	jackson-modules/jackson-custom-conversions/pom.xml
#	jackson-modules/jackson-custom-conversions/src/test/java/com/baeldung/defaultserializercustomserializer/CallingDefaultSerializerUnitTest.java
#	jackson-modules/jackson-custom-conversions/src/test/java/com/baeldung/deserialization/CustomDeserializationUnitTest.java
#	jackson-modules/jackson-exceptions/README.md
#	jackson-modules/jackson-exceptions/pom.xml
#	jackson-modules/jackson-exceptions/src/test/java/com/baeldung/exceptions/JacksonExceptionsUnitTest.java
#	jackson-modules/jackson-exceptions/src/test/java/com/baeldung/mappingexception/JacksonMappingExceptionUnitTest.java
#	jackson-modules/pom.xml
#	parent-boot-1/pom.xml
#	parent-boot-2/pom.xml
#	parent-boot-3/pom.xml
#	patterns-modules/design-patterns-architectural/pom.xml
#	patterns-modules/design-patterns-architectural/src/main/java/com/baeldung/repositoryvsdaopattern/UserDaoImpl.java
#	patterns-modules/design-patterns-behavioral-2/README.md
#	patterns-modules/design-patterns-behavioral-2/pom.xml
#	patterns-modules/design-patterns-creational-2/README.md
#	patterns-modules/design-patterns-creational-2/pom.xml
#	patterns-modules/design-patterns-singleton/README.md
#	patterns-modules/design-patterns-structural/src/main/resources/log4jstructuraldp.properties
#	patterns-modules/enterprise-patterns/pom.xml
#	patterns-modules/intercepting-filter/pom.xml
#	patterns-modules/pom.xml
#	persistence-modules/activejdbc/pom.xml
#	persistence-modules/hibernate5/README.md
#	persistence-modules/hibernate5/pom.xml
#	persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/interceptors/CustomInterceptor.java
#	persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/interceptors/entity/User.java
#	persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/namingstrategy/CustomPhysicalNamingStrategy.java
#	persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/persistjson/Customer.java
#	persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/persistjson/HashMapConverter.java
#	persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/pojo/OrderEntryIdClass.java
#	persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/pojo/OrderEntryPK.java
#	persistence-modules/hibernate5/src/test/java/com/baeldung/hibernate/IdentifiersIntegrationTest.java
#	persistence-modules/hibernate5/src/test/java/com/baeldung/hibernate/bootstrap/BootstrapAPIIntegrationTest.java
#	persistence-modules/hibernate5/src/test/java/com/baeldung/hibernate/proxy/HibernateProxyUnitTest.java
#	persistence-modules/hibernate5/src/test/resources/hibernate-interceptors.properties
#	persistence-modules/hibernate5/src/test/resources/hibernate-lifecycle.properties
#	persistence-modules/hibernate5/src/test/resources/hibernate-namingstrategy.properties
#	persistence-modules/hibernate5/src/test/resources/hibernate-persistjson.properties
#	persistence-modules/hibernate5/src/test/resources/hibernate.properties
#	persistence-modules/pom.xml
#	persistence-modules/spring-data-jpa-crud/pom.xml
#	persistence-modules/spring-data-jpa-crud/src/main/java/com/baeldung/repository/FruitRepository.java
#	persistence-modules/spring-data-jpa-repo-2/README.md
#	persistence-modules/spring-data-jpa-repo-2/pom.xml
#	persistence-modules/spring-data-jpa-repo-2/src/main/java/com/baeldung/spring/data/persistence/customrepository/model/User.java
#	persistence-modules/spring-data-jpa-repo-2/src/main/java/com/baeldung/spring/data/persistence/customrepository/repository/CustomUserRepositoryImpl.java
#	persistence-modules/spring-data-jpa-repo-2/src/main/java/com/baeldung/spring/data/persistence/saveperformance/Book.java
#	persistence-modules/spring-data-jpa-repo-2/src/main/resources/application.properties
#	persistence-modules/spring-data-mongodb-reactive/pom.xml
#	persistence-modules/spring-data-redis/README.md
#	persistence-modules/spring-data-redis/pom.xml
#	persistence-modules/spring-data-redis/src/main/java/com/baeldung/spring/data/reactive/redis/config/RedisConfig.java
#	persistence-modules/spring-data-redis/src/main/java/com/baeldung/spring/data/redis/config/RedisConfig.java
#	persistence-modules/spring-data-redis/src/main/java/com/baeldung/spring/data/redis/model/Student.java
#	persistence-modules/spring-data-redis/src/main/java/com/baeldung/spring/data/redis/queue/RedisMessageSubscriber.java
#	persistence-modules/spring-data-redis/src/test/java/com/baeldung/spring/data/reactive/redis/template/RedisKeyCommandsManualTest.java
#	persistence-modules/spring-data-redis/src/test/java/com/baeldung/spring/data/reactive/redis/template/RedisTemplateListOpsManualTest.java
#	persistence-modules/spring-data-redis/src/test/java/com/baeldung/spring/data/reactive/redis/template/RedisTemplateValueOpsManualTest.java
#	persistence-modules/spring-data-redis/src/test/java/com/baeldung/spring/data/redis/repo/StudentRepositoryManualTest.java
#	pom.xml
#	testing-modules/assertion-libraries/README.md
#	testing-modules/assertion-libraries/pom.xml
#	testing-modules/junit-5-basics/README.md
#	testing-modules/junit-5-basics/pom.xml
#	testing-modules/mockito-2/src/main/java/com/baeldung/nullmatcher/Helper.java
#	testing-modules/mockito-2/src/main/java/com/baeldung/nullmatcher/Main.java
#	testing-modules/mockito-2/src/main/java/com/baeldung/wantedbutnotinvocked/Helper.java
#	testing-modules/mockito-2/src/main/java/com/baeldung/wantedbutnotinvocked/Main.java
#	testing-modules/mockito-2/src/test/java/com/baeldung/nullmatcher/MainUnitTest.java
#	testing-modules/mockito-2/src/test/java/com/baeldung/wantedbutnotinvocked/MainUnitTest.java
#	testing-modules/pom.xml
#	testing-modules/spring-mockito/pom.xml
#	web-modules/dropwizard/pom.xml
#	web-modules/jakarta-ee/README.md
#	web-modules/jakarta-ee/pom.xml
#	web-modules/jakarta-ee/src/test/java/com/baeldung/eclipse/krazo/UserControllerUnitTest.java
#	web-modules/java-lite/pom.xml
#	web-modules/javax-servlets-2/README.md
#	web-modules/javax-servlets-2/pom.xml
#	web-modules/javax-servlets/pom.xml
#	web-modules/jee-7/pom.xml
#	web-modules/jooby/pom.xml
#	web-modules/ninja/pom.xml
#	web-modules/pom.xml
#	web-modules/ratpack/pom.xml
#	web-modules/resteasy/pom.xml
#	web-modules/restx/pom.xml
#	web-modules/spark-java/pom.xml
#	web-modules/vraptor/pom.xml
#	xml/README.md
#	xml/pom.xml
#	xml/src/main/resources/customer-binding.xml
#	xml/src/main/resources/sax/baeldung.xml
#	xml/src/test/resources/example_default_parser.xml
#	xml/src/test/resources/example_dom4j.xml
#	xml/src/test/resources/example_jaxb.xml
#	xml/src/test/resources/example_jaxen.xml
#	xml/src/test/resources/example_jdom.xml
#	xml/src/test/resources/example_stax.xml
#	xml/src/test/resources/sax/baeldung.xml
#	xml/src/test/resources/xml/websites.xml
#	xml/src/test/resources/xml/xee_attribute.xml
2024-04-30 12:23:19 -04:00
timis1 4293cfdd97
JAVA-34111 Revert the changes done in spring-data-jpa-simple module (#16493) 2024-04-26 10:15:18 +03:00
timis1 ebd95b4840
JAVA-32815 Split or move spring-data-jpa-simple (#16322)
Co-authored-by: timis1 <noreplay@yahoo.com>
2024-04-16 09:59:28 +03:00
vunamtien a6ea78aa47
[JAVA-29082] Split-or-move-spring-data-jpa-repo-module (#16252)
* [JAVA-29082] Split-or-move-spring-data-jpa-repo-module

* [JAVA-29082] Split-or-move-spring-data-jpa-repo-module
2024-03-29 11:26:43 +01:00
Amit Pandey 5b86742881
JAVA-28958 :- Upgrade spring-data-jpa-repo-2 to Spring Boot 3 (#15826)
* Initial Commit

* JAVA-28958 :- Upgrade to Spring Boot 3 for spring-data-jpa-repo-2.

* JAVA-28958 :- Delete unnecessary properties.

* JAVA-28958 :- Add property in POM.
2024-02-12 00:41:10 +01:00
panos-kakos 41979445ef Java 26374 Identify and move popular Boot articles (#15139) 2023-11-25 12:03:07 +02:00
timis1 474ec0c2e2 JAVA-22515 Split or move spring-data-jpa-repo-2 module (moved-1) 2023-07-08 22:06:30 +03:00
collaboratewithakash 2becb81f4c backlink added 2023-06-09 15:36:17 +05:30
Bipin kumar a408564d18 JAVA-21189: Formatting pom.xml modules starting from NOPQR (#14097) 2023-05-23 22:03:06 +05:30
YuCheng Hu 69465bfbcb 添加 core-java-collections-conversions 模块 2023-04-21 16:17:47 -04:00
edizor 356e748701 Update README.md
[skip ci]
2023-04-08 00:03:46 +08:00
ukhan1980 ae6493b568 [BAEL-6041] add code for cascading delete (#13699)
Co-authored-by: uzma <u.khan@proxymity.io>
2023-03-24 10:22:32 -07:00
Mateusz Szablak c119a05849 BAEL-6004 TRUNCATE table in Spring Data JPA (#13554) 2023-03-08 15:43:16 +01:00
Ulisses Lima 749a077478 BAEL-6046 - MongoDB - Field Level Encryption (#13494) 2023-02-18 14:27:12 +01:00
edizor f878ccc38f Update README.md
[skip ci]
2023-02-17 17:10:23 +08:00
Pedro Lopes bfb2b1b9f4 BAEL-6119: Difference Between findBy and findAllBy in Spring Data JPA (#13344)
* player entity and repository. test structure

* moving modules

* test findFirst. cleanups.

* adding @Repository

* player entity and repository. test structure

* moving modules

* test findFirst. cleanups.

* adding @Repository

* changing module

* adding show-sql config

* removing unrelated change

* properties SB annotation
2023-02-08 21:58:28 -07:00
edizor 05601ae0fe Update README.md
[skip ci]
2023-01-20 16:34:39 +08:00
Muhammad Asif caa663239f muasif80@gmail.com (#13262)
* BAEL-6063

* Updated the unit test class name

* Fixed the test

* Made updates to method names for tests and some refactor of code

* Updated the formatting using Baeldung formatter for Java

* Removed the space around = and made line continuations 2 spaces
2023-01-19 11:02:40 +05:30
edizor f64bcee853 Update README.md
[skip ci]
2023-01-11 15:22:43 +08:00
lucaCambi77 03778c8f21 fix: wrong model package name [ BAEL-5987 ] (#13268)
* feat: add jpa - spring data difference examples

* fix: remove _ from package name

* fix: model package name
2023-01-09 19:55:06 -06:00
lucaCambi77 f63772f5e4 [ BAEL-5987 ] - Difference Between JPA and Spring Data JPA (#13209)
* feat: add jpa - spring data difference examples

* fix: remove _ from package name
2023-01-04 21:34:13 -06:00
freelansam 456652e02b JAVA-16563: Fix formatting of POMs (#13175) 2022-12-20 22:37:54 +05:30
Haroon Khan 7f6b12abcb [JAVA-13976] Fix integration tests after Spring Boot upgrade to 2.7.2 (#12647) 2022-08-25 21:30:13 +05:30
Haroon Khan b9789c23f0 [JAVA-13976] Upgrade Spring Boot to 2.7.2 (#12603)
* [JAVA-13976] Upgrade Spring Boot to 2.7.2

* [JAVA-13976] Fix failing test due to incorrect Jackson version
2022-08-22 22:47:32 +05:30
YuCheng Hu f2c3c2bf0f Java 多行字符串 2022-08-08 09:36:36 -04:00
YuCheng Hu e8f74069ff Java “constant string too long” 编译错误 2022-08-06 10:16:50 -04:00
YuCheng Hu ae29615530 更新 Guava 项目的依赖和 Spring JPA 2022-07-15 14:31:15 -04:00
johnA1331 85c929b74b Update README.md 2022-01-26 17:38:14 +08:00
lucaCambi77 4d159f7808 BAEL-5263 : Access Entity Manager with Spring Boot and Spring Data (#11680)
* feat: entity manager with spring data

* fix typo

* fix: article and code review
2022-01-23 09:06:25 +05:30
Krzysiek 5242966787 JAVA-9486: Use guava.version defined in the parent pom 2022-01-18 09:42:21 +01:00
Haroon Khan acc089e414 [JAVA-8367] Split spring-data-jpa-repo module 2021-12-23 22:23:23 +00:00
chaos2418 686857c251 JAVA-8435: reducing logging for tutorials-integration job 2021-11-20 09:45:50 +05:30
freelansam 32dde5b5d1 JAVA-6475: Fix formatting of POMs (#11087)
* JAVA-6475: Fix formatting of POMs

* correct build error
2021-08-03 00:27:15 +05:30
sampadawagde ae27c57803 JAVA-5223: Fix formatting of POMs (Persistence Modules - Part 3) 2021-05-10 20:06:48 +05:30
johnA1331 f449b3cc37 Update README.md 2020-11-25 14:38:35 +08: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
Loredana 5a05897688 revert explicit junit, maven version overrides for boot projects 2020-10-14 16:16:17 +03: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 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 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