From b179e012f21de8bbcba4c71e950afe7e08a86778 Mon Sep 17 00:00:00 2001 From: Ihar Hancharenka Date: Sun, 20 Aug 2023 16:12:51 +0300 Subject: [PATCH] m --- aggregation-projection.txt | 1 + db/nosql/mongo/docker.txt | 8 +++ devops/k8s/controller/admission.txt | 2 + devops/k8s/features/jobs.txt | 2 + devops/k8s/features/pod/articles.txt | 3 + devops/k8s/ingress/docs/articles.txt | 1 + devops/k8s/tools/helm/docs/articles.txt | 2 + index.txt | 1 + multi-ds.txt | 1 + os/unix/env-vars.txt | 4 +- pl/java/libfws/integration/docker-java.txt | 3 + .../file-formats/parsing/cmdline/airline.txt | 7 ++- .../file-formats/parsing/cmdline/picocli.txt | 3 + pl/java/libfws/io/persistence/orm/ebean.txt | 2 + .../features/internals/dirty-check.txt | 25 ++++++++ .../orm/hibernate/features/log.txt | 3 + .../{db => persistence/orm}/jooq/articles.txt | 2 + .../{db => persistence/orm}/jooq/domainql.txt | 0 .../io/{db => persistence/orm}/jooq/jooq.txt | 0 pl/java/libfws/io/persistence/orm/mybatis.txt | 1 + .../io/{db => persistence/orm}/querydsl.txt | 7 ++- pl/java/libfws/spring/boot/custom-starter.txt | 2 + .../libfws/spring/boot/integration/docker.txt | 4 ++ .../boot/integration/k8s/java-client.txt | 2 + .../libfws/spring/boot/test/docs/articles.txt | 3 + .../libfws/spring/boot/test/rest-template.txt | 2 + .../spring/boot/test/webt-test-client.txt | 2 + .../cloud/config-server/docs/articles.txt | 1 + pl/java/libfws/spring/data/docs/articles.txt | 4 ++ pl/java/libfws/spring/data/docs/reference.txt | 2 + .../libfws/spring/data/jpa/docs/articles.txt | 2 + pl/java/libfws/spring/data/jpa/docs/tips.txt | 1 + .../libfws/spring/data/jpa/features/cache.txt | 3 + .../spring/data/jpa/features/lifecycle.txt | 2 + .../spring/data/jpa/features/log-sql.txt | 1 + .../spring/data/jpa/features/projections.txt | 1 + .../spring/data/jpa/features/query/query.txt | 3 + .../data/jpa/features/query/spec-criteria.txt | 2 + .../spring/data/jpa/features/soft-delete.txt | 2 + .../libfws/spring/data/jpa/features/test.txt | 1 + .../data/jpa/features/transaction-locks.txt | 3 + .../data/jpa/tools/blaze-persistence.txt | 5 ++ .../spring/data/jpa/tools/jpastreamer.txt | 10 ++- pl/java/libfws/spring/data/mongo.txt | 61 ------------------- .../libfws/spring/data/mongo/aggregations.txt | 6 ++ .../libfws/spring/data/mongo/annotations.txt | 15 +++++ pl/java/libfws/spring/data/mongo/articles.txt | 20 ++++++ pl/java/libfws/spring/data/mongo/bson.txt | 3 + pl/java/libfws/spring/data/mongo/cfg.txt | 2 + .../libfws/spring/data/mongo/converter.txt | 4 ++ pl/java/libfws/spring/data/mongo/cursor.txt | 2 + pl/java/libfws/spring/data/mongo/datetime.txt | 4 ++ pl/java/libfws/spring/data/mongo/driver.txt | 7 +++ pl/java/libfws/spring/data/mongo/embedded.txt | 7 +++ pl/java/libfws/spring/data/mongo/filter.txt | 2 + pl/java/libfws/spring/data/mongo/id.txt | 6 ++ pl/java/libfws/spring/data/mongo/index.txt | 3 + .../spring/data/mongo/lifecycle-events.txt | 2 + pl/java/libfws/spring/data/mongo/logging.txt | 2 + pl/java/libfws/spring/data/mongo/misc.txt | 8 +++ .../spring/data/mongo/mongo-template.txt | 5 ++ pl/java/libfws/spring/data/mongo/mongo.txt | 21 +++++++ pl/java/libfws/spring/data/mongo/query.txt | 14 +++++ .../data/{data.txt => mongo/querydsl.txt} | 9 +-- pl/java/libfws/spring/data/mongo/reactive.txt | 2 + pl/java/libfws/spring/data/mongo/sort.txt | 2 + pl/java/libfws/spring/data/mongo/test.txt | 1 + .../libfws/spring/data/mongo/transactions.txt | 2 + pl/java/libfws/spring/data/mongo/updating.txt | 6 ++ pl/java/libfws/spring/utils/utils.txt | 4 ++ .../quality/testing/mock/mockito/mockito.txt | 3 + queries.txt | 1 + 72 files changed, 288 insertions(+), 72 deletions(-) create mode 100644 aggregation-projection.txt create mode 100644 devops/k8s/controller/admission.txt create mode 100644 index.txt create mode 100644 multi-ds.txt create mode 100644 pl/java/libfws/io/persistence/orm/ebean.txt create mode 100644 pl/java/libfws/io/persistence/orm/hibernate/features/internals/dirty-check.txt rename pl/java/libfws/io/{db => persistence/orm}/jooq/articles.txt (80%) rename pl/java/libfws/io/{db => persistence/orm}/jooq/domainql.txt (100%) rename pl/java/libfws/io/{db => persistence/orm}/jooq/jooq.txt (100%) create mode 100644 pl/java/libfws/io/persistence/orm/mybatis.txt rename pl/java/libfws/io/{db => persistence/orm}/querydsl.txt (82%) create mode 100644 pl/java/libfws/spring/boot/integration/k8s/java-client.txt create mode 100644 pl/java/libfws/spring/boot/test/rest-template.txt create mode 100644 pl/java/libfws/spring/boot/test/webt-test-client.txt create mode 100644 pl/java/libfws/spring/data/docs/articles.txt create mode 100644 pl/java/libfws/spring/data/docs/reference.txt create mode 100644 pl/java/libfws/spring/data/jpa/docs/tips.txt create mode 100644 pl/java/libfws/spring/data/jpa/features/cache.txt create mode 100644 pl/java/libfws/spring/data/jpa/features/lifecycle.txt create mode 100644 pl/java/libfws/spring/data/jpa/tools/blaze-persistence.txt delete mode 100644 pl/java/libfws/spring/data/mongo.txt create mode 100644 pl/java/libfws/spring/data/mongo/aggregations.txt create mode 100644 pl/java/libfws/spring/data/mongo/annotations.txt create mode 100644 pl/java/libfws/spring/data/mongo/articles.txt create mode 100644 pl/java/libfws/spring/data/mongo/bson.txt create mode 100644 pl/java/libfws/spring/data/mongo/cfg.txt create mode 100644 pl/java/libfws/spring/data/mongo/converter.txt create mode 100644 pl/java/libfws/spring/data/mongo/cursor.txt create mode 100644 pl/java/libfws/spring/data/mongo/datetime.txt create mode 100644 pl/java/libfws/spring/data/mongo/driver.txt create mode 100644 pl/java/libfws/spring/data/mongo/embedded.txt create mode 100644 pl/java/libfws/spring/data/mongo/filter.txt create mode 100644 pl/java/libfws/spring/data/mongo/id.txt create mode 100644 pl/java/libfws/spring/data/mongo/index.txt create mode 100644 pl/java/libfws/spring/data/mongo/lifecycle-events.txt create mode 100644 pl/java/libfws/spring/data/mongo/logging.txt create mode 100644 pl/java/libfws/spring/data/mongo/misc.txt create mode 100644 pl/java/libfws/spring/data/mongo/mongo-template.txt create mode 100644 pl/java/libfws/spring/data/mongo/mongo.txt create mode 100644 pl/java/libfws/spring/data/mongo/query.txt rename pl/java/libfws/spring/data/{data.txt => mongo/querydsl.txt} (55%) create mode 100644 pl/java/libfws/spring/data/mongo/reactive.txt create mode 100644 pl/java/libfws/spring/data/mongo/sort.txt create mode 100644 pl/java/libfws/spring/data/mongo/test.txt create mode 100644 pl/java/libfws/spring/data/mongo/transactions.txt create mode 100644 pl/java/libfws/spring/data/mongo/updating.txt create mode 100644 pl/java/libfws/spring/utils/utils.txt create mode 100644 queries.txt diff --git a/aggregation-projection.txt b/aggregation-projection.txt new file mode 100644 index 000000000..184854e1c --- /dev/null +++ b/aggregation-projection.txt @@ -0,0 +1 @@ +https://www.baeldung.com/spring-data-mongodb-projections-aggregations diff --git a/db/nosql/mongo/docker.txt b/db/nosql/mongo/docker.txt index 7b3eccfda..5d6003a31 100644 --- a/db/nosql/mongo/docker.txt +++ b/db/nosql/mongo/docker.txt @@ -41,3 +41,11 @@ services: - MONGO_INITDB_ROOT_PASSWORD=admin volumes: - ./mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js + +rs-based +https://github.com/eugenp/tutorials/tree/master/persistence-modules/spring-data-mongodb/src/live-test/resources +https://github.com/eugenp/tutorials/blob/master/persistence-modules/spring-data-mongodb/src/live-test/resources/Dockerfile + COPY init-session.js /docker-entrypoint-initdb.d/ + HEALTHCHECK --interval=5s --timeout=3s --start-period=10s CMD mongo db.stats() + CMD ["mongod", "--replSet", "rs0"] +https://github.com/eugenp/tutorials/blob/master/persistence-modules/spring-data-mongodb/src/live-test/resources/init-session.js diff --git a/devops/k8s/controller/admission.txt b/devops/k8s/controller/admission.txt new file mode 100644 index 000000000..44b541609 --- /dev/null +++ b/devops/k8s/controller/admission.txt @@ -0,0 +1,2 @@ +2022 +https://www.baeldung.com/java-kubernetes-admission-controller diff --git a/devops/k8s/features/jobs.txt b/devops/k8s/features/jobs.txt index 52f4a9c2f..3110d6cd9 100644 --- a/devops/k8s/features/jobs.txt +++ b/devops/k8s/features/jobs.txt @@ -1,5 +1,7 @@ https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/ +2022 +https://www.baeldung.com/ops/kubernetes-run-cron-jobs 2020 Bondarev - Advanced Kubernetes Abstractions - Jobs, Cronjobs, RBAC https://www.youtube.com/watch?v=fUBpMbHsfL4 diff --git a/devops/k8s/features/pod/articles.txt b/devops/k8s/features/pod/articles.txt index 5e1777731..7b27e7f22 100644 --- a/devops/k8s/features/pod/articles.txt +++ b/devops/k8s/features/pod/articles.txt @@ -1,3 +1,6 @@ +2023 +https://www.baeldung.com/ops/kubertenes-pod-vs-container + ! pod can have multiple containers 2022 https://kubesimplify.com/pods-in-kubernetes 2021 diff --git a/devops/k8s/ingress/docs/articles.txt b/devops/k8s/ingress/docs/articles.txt index 5190b0df0..a9458164c 100644 --- a/devops/k8s/ingress/docs/articles.txt +++ b/devops/k8s/ingress/docs/articles.txt @@ -1,4 +1,5 @@ 2022 +https://www.baeldung.com/ops/kubernetes-ingress-vs-load-balancer https://dev.to/thenjdevopsguy/kubernetes-ingress-nginx-ingress-edition-41o8 2019 https://habr.com/ru/company/flant/blog/447180/ diff --git a/devops/k8s/tools/helm/docs/articles.txt b/devops/k8s/tools/helm/docs/articles.txt index 5514b89e2..c802a2e6f 100644 --- a/devops/k8s/tools/helm/docs/articles.txt +++ b/devops/k8s/tools/helm/docs/articles.txt @@ -1,3 +1,5 @@ +2022 +https://www.baeldung.com/ops/kubernetes-helm 2020 https://habr.com/ru/company/flant/blog/529158/ https://habr.com/ru/company/mailru/blog/488192/ diff --git a/index.txt b/index.txt new file mode 100644 index 000000000..dc5b497d8 --- /dev/null +++ b/index.txt @@ -0,0 +1 @@ +https://www.baeldung.com/spring-data-mongodb-unique diff --git a/multi-ds.txt b/multi-ds.txt new file mode 100644 index 000000000..c18ffd99e --- /dev/null +++ b/multi-ds.txt @@ -0,0 +1 @@ +https://www.baeldung.com/mongodb-multiple-databases-spring-data diff --git a/os/unix/env-vars.txt b/os/unix/env-vars.txt index c66c3ee3a..d6bb3c241 100644 --- a/os/unix/env-vars.txt +++ b/os/unix/env-vars.txt @@ -1,4 +1,6 @@ +/etc/profile.d/*.sh + sys-level en-vars + Setting 2 variables solved the problem: ENV LANG en_US.UTF-8 ENV LC_ALL en_US.UTF-8 - diff --git a/pl/java/libfws/integration/docker-java.txt b/pl/java/libfws/integration/docker-java.txt index e92db1ad3..fa07fa93e 100644 --- a/pl/java/libfws/integration/docker-java.txt +++ b/pl/java/libfws/integration/docker-java.txt @@ -1,6 +1,9 @@ https://github.com/docker-java/docker-java https://github.com/project-aries/docker-java-shaded +2022 +https://www.baeldung.com/docker-java-api + internals https://github.com/docker-java/docker-java/blob/master/src/main/java/com/github/dockerjava/api/command/BuildImageCmd.java https://github.com/docker-java/docker-java/wiki diff --git a/pl/java/libfws/io/file-formats/parsing/cmdline/airline.txt b/pl/java/libfws/io/file-formats/parsing/cmdline/airline.txt index 0d3c21209..fd6195d20 100644 --- a/pl/java/libfws/io/file-formats/parsing/cmdline/airline.txt +++ b/pl/java/libfws/io/file-formats/parsing/cmdline/airline.txt @@ -1 +1,6 @@ -https://github.com/airlift/airline +https://rvesse.github.io/airline/ +https://github.com/rvesse/airline + ! 1yo + +2020 +https://www.baeldung.com/java-airline diff --git a/pl/java/libfws/io/file-formats/parsing/cmdline/picocli.txt b/pl/java/libfws/io/file-formats/parsing/cmdline/picocli.txt index b7eb062c9..269bf2cf5 100644 --- a/pl/java/libfws/io/file-formats/parsing/cmdline/picocli.txt +++ b/pl/java/libfws/io/file-formats/parsing/cmdline/picocli.txt @@ -9,6 +9,9 @@ https://dzone.com/articles/announcing-picocli-10 issues https://github.com/remkop/picocli/issues/183 +2023 +https://www.baeldung.com/java-picocli-create-command-line-program + !!! spring-boot integration 2021 https://www.infoq.com/articles/java-native-cli-graalvm-picocli/ https://habr.com/ru/post/597105/ diff --git a/pl/java/libfws/io/persistence/orm/ebean.txt b/pl/java/libfws/io/persistence/orm/ebean.txt new file mode 100644 index 000000000..403959304 --- /dev/null +++ b/pl/java/libfws/io/persistence/orm/ebean.txt @@ -0,0 +1,2 @@ +https://ebean.io/docs/ +https://github.com/ebean-orm/ebean diff --git a/pl/java/libfws/io/persistence/orm/hibernate/features/internals/dirty-check.txt b/pl/java/libfws/io/persistence/orm/hibernate/features/internals/dirty-check.txt new file mode 100644 index 000000000..bccea7627 --- /dev/null +++ b/pl/java/libfws/io/persistence/orm/hibernate/features/internals/dirty-check.txt @@ -0,0 +1,25 @@ +2023 + https://vladmihalcea.com/a-beginners-guide-to-jpa-hibernate-entity-state-transitions/ + https://vladmihalcea.com/the-anatomy-of-hibernate-dirty-checking/ + https://vladmihalcea.com/how-to-customize-hibernate-dirty-checking-mechanism/ + https://docs.jboss.org/hibernate/core/4.3/javadocs/org/hibernate/Interceptor.html#findDirty%28java.lang.Object,%20java.io.Serializable,%20java.lang.Object[],%20java.lang.Object[],%20java.lang.String[],%20org.hibernate.type.Type[]%29 + https://docs.jboss.org/hibernate/orm/4.3/javadocs/org/hibernate/CustomEntityDirtinessStrategy.html + !!! +2016 + https://medium.com/@paul.klingelhuber/hibernate-dirty-checking-with-converted-attributes-1b6d1cd27f68 + ! DefaultFlushEntityEventListener +???? + https://javatute.com/hibernate/dirty-checking-in-hibernate/ + !!! good internals, FlushMode.MANUAL + Let’s see what happens internally when transaction.commit() executes.... + public void flushBeforeTransactionCompletion() { + //some more code + try { + if ( flush ) { + managedFlush(); + } + } + catch (RuntimeException e) { + //some more code + } + } diff --git a/pl/java/libfws/io/persistence/orm/hibernate/features/log.txt b/pl/java/libfws/io/persistence/orm/hibernate/features/log.txt index 57085b2ae..50135a413 100644 --- a/pl/java/libfws/io/persistence/orm/hibernate/features/log.txt +++ b/pl/java/libfws/io/persistence/orm/hibernate/features/log.txt @@ -1,2 +1,5 @@ +2023 +https://thorben-janssen.com/hibernate-logging-guide/ + Category: - { name: org.hibernate.loader.custom.sql, Priority: [{value: trace}], AppenderRef: [{ ref: FILE }] } diff --git a/pl/java/libfws/io/db/jooq/articles.txt b/pl/java/libfws/io/persistence/orm/jooq/articles.txt similarity index 80% rename from pl/java/libfws/io/db/jooq/articles.txt rename to pl/java/libfws/io/persistence/orm/jooq/articles.txt index 3b37df563..d170dcfbc 100644 --- a/pl/java/libfws/io/db/jooq/articles.txt +++ b/pl/java/libfws/io/persistence/orm/jooq/articles.txt @@ -1,3 +1,5 @@ +https://vladmihalcea.com/tag/jooq/ + 2021 https://72.services/java-16-records-with-jpa-and-jooq/ 2016 diff --git a/pl/java/libfws/io/db/jooq/domainql.txt b/pl/java/libfws/io/persistence/orm/jooq/domainql.txt similarity index 100% rename from pl/java/libfws/io/db/jooq/domainql.txt rename to pl/java/libfws/io/persistence/orm/jooq/domainql.txt diff --git a/pl/java/libfws/io/db/jooq/jooq.txt b/pl/java/libfws/io/persistence/orm/jooq/jooq.txt similarity index 100% rename from pl/java/libfws/io/db/jooq/jooq.txt rename to pl/java/libfws/io/persistence/orm/jooq/jooq.txt diff --git a/pl/java/libfws/io/persistence/orm/mybatis.txt b/pl/java/libfws/io/persistence/orm/mybatis.txt new file mode 100644 index 000000000..b4f162169 --- /dev/null +++ b/pl/java/libfws/io/persistence/orm/mybatis.txt @@ -0,0 +1 @@ +https://mybatis.org/mybatis-3/ diff --git a/pl/java/libfws/io/db/querydsl.txt b/pl/java/libfws/io/persistence/orm/querydsl.txt similarity index 82% rename from pl/java/libfws/io/db/querydsl.txt rename to pl/java/libfws/io/persistence/orm/querydsl.txt index 5924c856e..5f205579c 100644 --- a/pl/java/libfws/io/db/querydsl.txt +++ b/pl/java/libfws/io/persistence/orm/querydsl.txt @@ -2,7 +2,12 @@ http://www.querydsl.com/ http://www.querydsl.com/static/querydsl/latest/reference/html_single/ https://github.com/querydsl/querydsl -Articles: +2023 +https://www.baeldung.com/querydsl-with-jpa-tutorial +https://www.baeldung.com/intro-to-querydsl +2018 +https://habr.com/ru/articles/344450/ +2011 http://blog.mysema.com/2011/01/querying-in-sql-with-querydsl.html https://www.credera.com/blog/technology-insights/java/can-querydsl-part-1-enhance-simplify-existing-spring-data-jpa-repositories/ diff --git a/pl/java/libfws/spring/boot/custom-starter.txt b/pl/java/libfws/spring/boot/custom-starter.txt index ad8b72bf9..a45825704 100644 --- a/pl/java/libfws/spring/boot/custom-starter.txt +++ b/pl/java/libfws/spring/boot/custom-starter.txt @@ -1,3 +1,5 @@ +2020 +https://www.baeldung.com/spring-boot-custom-starter 2019 https://reflectoring.io/spring-boot-starter/ https://github.com/thombergs/code-examples/tree/master/spring-boot/starter diff --git a/pl/java/libfws/spring/boot/integration/docker.txt b/pl/java/libfws/spring/boot/integration/docker.txt index e90eca5b0..a1f4eb46c 100644 --- a/pl/java/libfws/spring/boot/integration/docker.txt +++ b/pl/java/libfws/spring/boot/integration/docker.txt @@ -1,3 +1,7 @@ +docker-compose +https://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#features.docker-compose + https://www.baeldung.com/ops/docker-compose-support-spring-boot + https://buildpacks.io/ https://github.com/buildpacks/pack https://github.com/pivotal/kpack diff --git a/pl/java/libfws/spring/boot/integration/k8s/java-client.txt b/pl/java/libfws/spring/boot/integration/k8s/java-client.txt new file mode 100644 index 000000000..451808bbf --- /dev/null +++ b/pl/java/libfws/spring/boot/integration/k8s/java-client.txt @@ -0,0 +1,2 @@ +2022 +https://www.baeldung.com/kubernetes-java-client diff --git a/pl/java/libfws/spring/boot/test/docs/articles.txt b/pl/java/libfws/spring/boot/test/docs/articles.txt index e6e2a7db2..6a411a3a0 100644 --- a/pl/java/libfws/spring/boot/test/docs/articles.txt +++ b/pl/java/libfws/spring/boot/test/docs/articles.txt @@ -1,7 +1,10 @@ 2023 https://www.baeldung.com/spring-boot-testing-pitfalls +2021 +https://www.baeldung.com/integration-testing-in-spring 2020 https://www.baeldung.com/spring-boot-testing + !!! 2019 https://habr.com/ru/post/446184/ https://reflectoring.io/unit-testing-spring-boot/ diff --git a/pl/java/libfws/spring/boot/test/rest-template.txt b/pl/java/libfws/spring/boot/test/rest-template.txt new file mode 100644 index 000000000..48c748ba7 --- /dev/null +++ b/pl/java/libfws/spring/boot/test/rest-template.txt @@ -0,0 +1,2 @@ +2022 +https://www.baeldung.com/spring-boot-testresttemplate diff --git a/pl/java/libfws/spring/boot/test/webt-test-client.txt b/pl/java/libfws/spring/boot/test/webt-test-client.txt new file mode 100644 index 000000000..025bba73e --- /dev/null +++ b/pl/java/libfws/spring/boot/test/webt-test-client.txt @@ -0,0 +1,2 @@ +2022 +https://www.baeldung.com/spring-5-webclient diff --git a/pl/java/libfws/spring/cloud/config-server/docs/articles.txt b/pl/java/libfws/spring/cloud/config-server/docs/articles.txt index de7185545..2aaa63d6e 100644 --- a/pl/java/libfws/spring/cloud/config-server/docs/articles.txt +++ b/pl/java/libfws/spring/cloud/config-server/docs/articles.txt @@ -1,6 +1,7 @@ 2023 https://habr.com/ru/post/712628/ 2022 +https://www.baeldung.com/spring-cloud-config-without-git https://www.baeldung.com/spring-cloud-configuration https://habr.com/ru/company/otus/blog/682594/ https://habr.com/ru/company/otus/blog/681214/ diff --git a/pl/java/libfws/spring/data/docs/articles.txt b/pl/java/libfws/spring/data/docs/articles.txt new file mode 100644 index 000000000..2efd7bbb2 --- /dev/null +++ b/pl/java/libfws/spring/data/docs/articles.txt @@ -0,0 +1,4 @@ +https://www.baeldung.com/spring-data + +2019 +https://habr.com/ru/company/otus/blog/437410/ diff --git a/pl/java/libfws/spring/data/docs/reference.txt b/pl/java/libfws/spring/data/docs/reference.txt new file mode 100644 index 000000000..9cc782c00 --- /dev/null +++ b/pl/java/libfws/spring/data/docs/reference.txt @@ -0,0 +1,2 @@ +http://docs.spring.io/spring-data/jdbc/docs/current/reference/html/ +http://docs.spring.io/spring-data/jdbc/docs/current/reference/htmlsingle/ diff --git a/pl/java/libfws/spring/data/jpa/docs/articles.txt b/pl/java/libfws/spring/data/jpa/docs/articles.txt index db99e5041..d9041d6f7 100644 --- a/pl/java/libfws/spring/data/jpa/docs/articles.txt +++ b/pl/java/libfws/spring/data/jpa/docs/articles.txt @@ -1,3 +1,5 @@ +https://www.baeldung.com/learn-jpa-hibernate + 2022 https://vladmihalcea.com/spring-data-jpa-findbyid/ https://www.reddit.com/r/java/comments/yvoyov/the_spring_data_jpa_findbyid_antipattern/ diff --git a/pl/java/libfws/spring/data/jpa/docs/tips.txt b/pl/java/libfws/spring/data/jpa/docs/tips.txt new file mode 100644 index 000000000..b66ab73e0 --- /dev/null +++ b/pl/java/libfws/spring/data/jpa/docs/tips.txt @@ -0,0 +1 @@ +https://habr.com/ru/articles/265061/ diff --git a/pl/java/libfws/spring/data/jpa/features/cache.txt b/pl/java/libfws/spring/data/jpa/features/cache.txt new file mode 100644 index 000000000..ce9270227 --- /dev/null +++ b/pl/java/libfws/spring/data/jpa/features/cache.txt @@ -0,0 +1,3 @@ +2021 +https://vladmihalcea.com/jpa-hibernate-first-level-cache/ + https://habr.com/ru/companies/otus/articles/596087/ diff --git a/pl/java/libfws/spring/data/jpa/features/lifecycle.txt b/pl/java/libfws/spring/data/jpa/features/lifecycle.txt new file mode 100644 index 000000000..d9b9b2d3b --- /dev/null +++ b/pl/java/libfws/spring/data/jpa/features/lifecycle.txt @@ -0,0 +1,2 @@ +2022 +https://habr.com/ru/companies/rosbank/articles/695360/ diff --git a/pl/java/libfws/spring/data/jpa/features/log-sql.txt b/pl/java/libfws/spring/data/jpa/features/log-sql.txt index 81a9d3747..9899cc9cf 100644 --- a/pl/java/libfws/spring/data/jpa/features/log-sql.txt +++ b/pl/java/libfws/spring/data/jpa/features/log-sql.txt @@ -2,6 +2,7 @@ spring.jpa.show-sql=true spring.jpa.properties.hibernate.format_sql=true 2022 +https://www.baeldung.com/hibernate-logging-levels https://www.baeldung.com/sql-logging-spring-boot2022 logging.level.org.hibernate.SQL=DEBUG diff --git a/pl/java/libfws/spring/data/jpa/features/projections.txt b/pl/java/libfws/spring/data/jpa/features/projections.txt index a9cac45d9..d777a298b 100644 --- a/pl/java/libfws/spring/data/jpa/features/projections.txt +++ b/pl/java/libfws/spring/data/jpa/features/projections.txt @@ -2,6 +2,7 @@ https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#projections 2023 https://www.baeldung.com/spring-data-rest-projections-excerpts +https://www.baeldung.com/jpa-queries-custom-result-with-aggregation-functions 2022 https://www.baeldung.com/spring-data-jpa-projections https://blog.jooq.org/the-second-best-way-to-fetch-a-spring-data-jpa-dto-projection/ diff --git a/pl/java/libfws/spring/data/jpa/features/query/query.txt b/pl/java/libfws/spring/data/jpa/features/query/query.txt index 51e8ad270..98c1e12cc 100644 --- a/pl/java/libfws/spring/data/jpa/features/query/query.txt +++ b/pl/java/libfws/spring/data/jpa/features/query/query.txt @@ -1,5 +1,8 @@ https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#repository-query-keywords +2023 +https://www.baeldung.com/spring-data-jpa-modifying-annotation + @Modifying 2022 https://www.baeldung.com/spring-data-derived-queries https://www.baeldung.com/spring-jpa-like-queries diff --git a/pl/java/libfws/spring/data/jpa/features/query/spec-criteria.txt b/pl/java/libfws/spring/data/jpa/features/query/spec-criteria.txt index 07de885dd..ba8f005d2 100644 --- a/pl/java/libfws/spring/data/jpa/features/query/spec-criteria.txt +++ b/pl/java/libfws/spring/data/jpa/features/query/spec-criteria.txt @@ -34,6 +34,8 @@ https://javaee.github.io/javaee-spec/javadocs/javax/persistence/criteria/Criteri jpql->spec https://stackoverflow.com/questions/60382298/convert-specific-query-into-jpql-or-criteria-builder-query +2023 +https://www.baeldung.com/spring-jpa-joining-tables 2022 https://engineering.linecorp.com/en/blog/kotlinjdsl-jpa-criteria-api-with-kotlin/ selectMulti(col(Book::category), avg(Review::rate)) diff --git a/pl/java/libfws/spring/data/jpa/features/soft-delete.txt b/pl/java/libfws/spring/data/jpa/features/soft-delete.txt index 3f950e3d5..a939aa0a3 100644 --- a/pl/java/libfws/spring/data/jpa/features/soft-delete.txt +++ b/pl/java/libfws/spring/data/jpa/features/soft-delete.txt @@ -2,3 +2,5 @@ https://vladmihalcea.com/soft-delete-jpa-version/ 2022 https://www.baeldung.com/spring-jpa-soft-delete +2021 +https://habr.com/ru/companies/haulmont/articles/579386/ diff --git a/pl/java/libfws/spring/data/jpa/features/test.txt b/pl/java/libfws/spring/data/jpa/features/test.txt index 1ecf308de..5f077792b 100644 --- a/pl/java/libfws/spring/data/jpa/features/test.txt +++ b/pl/java/libfws/spring/data/jpa/features/test.txt @@ -1,4 +1,5 @@ 2022 +https://www.baeldung.com/spring-testing-separate-data-source https://www.baeldung.com/spring-boot-unable-to-find-springbootconfiguration-with-datajpatest https://github.com/eugenp/tutorials/tree/master/spring-boot-modules/spring-boot-config-jpa-error https://www.baeldung.com/spring-boot-testing diff --git a/pl/java/libfws/spring/data/jpa/features/transaction-locks.txt b/pl/java/libfws/spring/data/jpa/features/transaction-locks.txt index 4dd04df7c..ea3eef94a 100644 --- a/pl/java/libfws/spring/data/jpa/features/transaction-locks.txt +++ b/pl/java/libfws/spring/data/jpa/features/transaction-locks.txt @@ -32,6 +32,7 @@ https://docs.spring.io/spring-data/jpa/docs/current/api/org/springframework/data 2023 https://www.baeldung.com/spring-transactional-propagation-isolation + !!! https://www.linkedin.com/pulse/implementing-optimistic-pessimistic-locking-spring-boot-sanchez adv, disadv https://github.com/csdavidg/db-locking-poc @@ -112,3 +113,5 @@ https://hackernoon.com/optimistic-and-pessimistic-locking-in-jpa 2021 https://habr.com/ru/company/otus/blog/574470/ spring transactional errors +2017 +https://habr.com/ru/articles/325470/ diff --git a/pl/java/libfws/spring/data/jpa/tools/blaze-persistence.txt b/pl/java/libfws/spring/data/jpa/tools/blaze-persistence.txt new file mode 100644 index 000000000..95d5dc8e9 --- /dev/null +++ b/pl/java/libfws/spring/data/jpa/tools/blaze-persistence.txt @@ -0,0 +1,5 @@ +https://persistence.blazebit.com/ +https://github.com/Blazebit/blaze-persistence + +2021 +https://vladmihalcea.com/blaze-persistence-jpa-criteria-queries/ diff --git a/pl/java/libfws/spring/data/jpa/tools/jpastreamer.txt b/pl/java/libfws/spring/data/jpa/tools/jpastreamer.txt index 052017b27..c9c814c4c 100644 --- a/pl/java/libfws/spring/data/jpa/tools/jpastreamer.txt +++ b/pl/java/libfws/spring/data/jpa/tools/jpastreamer.txt @@ -1,9 +1,15 @@ https://jpastreamer.org/ https://github.com/speedment/jpa-streamer -https://speedment.github.io/jpa-streamer/jpa-streamer/1.1.2/introduction/introduction.html +compile "com.speedment.jpastreamer.integration.spring:spring-boot-jpastreamer-autoconfigure:$version" + @SpringBootApplication(scanBasePackages={"com.speedment.jpastreamer"}) + + +https://speedment.github.io/jpa-streamer/jpa-streamer/latest/introduction/introduction.html +https://speedment.github.io/jpa-streamer/jpa-streamer/latest/stream-fundamentals/stream_basics.html +https://speedment.github.io/jpa-streamer/jpa-streamer/latest/stream-fundamentals/intermediate_operations.html +https://speedment.github.io/jpa-streamer/jpa-streamer/latest/stream-fundamentals/terminal_operations.html https://github.com/speedment/jpa-streamer-demo/ -https://speedment.github.io/jpa-streamer/jpa-streamer/1.1.2/stream-fundamentals/stream_basics.html 2021 https://piotrminkowski.com/2021/07/13/express-jpa-queries-as-java-streams/ diff --git a/pl/java/libfws/spring/data/mongo.txt b/pl/java/libfws/spring/data/mongo.txt deleted file mode 100644 index 26da12ac8..000000000 --- a/pl/java/libfws/spring/data/mongo.txt +++ /dev/null @@ -1,61 +0,0 @@ -https://docs.spring.io/spring-data/mongodb/docs/current/reference/html/ - -q -https://docs.spring.io/spring-data/mongodb/docs/current/reference/html/#appendix.query.method.subject - -https://www.mongodb.com/compatibility/spring-boot - -list -https://www.baeldung.com/spring-data-mongodb-guide -2023 -https://www.baeldung.com/spring-data-mongodb-tutorial -https://www.baeldung.com/mongodb-multiple-databases-spring-data -https://www.baeldung.com/spring-data-mongodb-index-annotations-converter -2022 -https://medium.com/geekculture/types-of-update-operations-in-mongodb-using-spring-boot-11d5d4ce88cf - https://nuancesprog.ru/p/16479/ - https://github.com/dhavalsimaria/mongo-operations -2021 -https://spring.io/blog/2021/11/29/spring-data-mongodb-relation-modelling - https://www.mongodb.com/docs/manual/core/data-modeling-introduction/ -2018 -https://www.javacodegeeks.com/2018/03/spring-data-mongodb-tutorial.html - https://habr.com/ru/companies/otus/articles/430520/ - ! so-so - -https://www.mongodb.com/docs/manual/indexes/ -https://www.mongodb.com/docs/manual/applications/indexes/ - https://www.mongodb.com/docs/manual/tutorial/equality-sort-range-rule/ - https://www.mongodb.com/docs/manual/core/index-compound/ - https://www.mongodb.com/docs/manual/core/index-unique/ -https://www.mongodb.com/docs/manual/reference/explain-results/ -https://www.mongodb.com/docs/manual/reference/command/explain/ - -annotations -@EnableMongoRepositories(basePackage=...) // config-file package auto-added to basePackage - -MongoTemplate -https://www.baeldung.com/spring-data-mongodb-tutorial -https://docs.spring.io/spring-data/mongodb/docs/current/api/org/springframework/data/mongodb/core/MongoTemplate.html - -queries -https://www.baeldung.com/queries-in-spring-data-mongodb - -transactions -https://www.baeldung.com/spring-data-mongodb-transactions - Note that MongoDB currently supports transactions over a replica set. - -indexes -https://www.baeldung.com/spring-data-mongodb-unique - -multi-ds -https://www.baeldung.com/mongodb-multiple-databases-spring-data - -projection-aggregation -https://www.baeldung.com/spring-data-mongodb-projections-aggregations - -cascade-save-by-events -https://www.baeldung.com/cascading-with-dbref-and-lifecycle-events-in-spring-data-mongodb - -testing -https://www.baeldung.com/spring-boot-embedded-mongodb diff --git a/pl/java/libfws/spring/data/mongo/aggregations.txt b/pl/java/libfws/spring/data/mongo/aggregations.txt new file mode 100644 index 000000000..8cee17cfa --- /dev/null +++ b/pl/java/libfws/spring/data/mongo/aggregations.txt @@ -0,0 +1,6 @@ +https://mongodb.github.io/mongo-java-driver/3.12/builders/aggregation/ + +2022 +https://www.baeldung.com/java-mongodb-aggregations +2021 +https://www.baeldung.com/spring-data-mongodb-projections-aggregations diff --git a/pl/java/libfws/spring/data/mongo/annotations.txt b/pl/java/libfws/spring/data/mongo/annotations.txt new file mode 100644 index 000000000..f0d8b0a67 --- /dev/null +++ b/pl/java/libfws/spring/data/mongo/annotations.txt @@ -0,0 +1,15 @@ +2023 +https://www.baeldung.com/spring-data-mongodb-index-annotations-converter + @Indexed, @Transient, @PersistenceConstructor + +@EnableMongoRepositories(basePackage=...) // config-file package auto-added to basePackage + +@DBRef + https://www.baeldung.com/spring-mongodb-dbref-annotation + https://www.baeldung.com/cascading-with-dbref-and-lifecycle-events-in-spring-data-mongodb#dbref + +@Document + https://www.baeldung.com/spring-data-mongodb-collection-name + +@Index, @CompoundIndex + https://www.baeldung.com/spring-data-mongodb-unique diff --git a/pl/java/libfws/spring/data/mongo/articles.txt b/pl/java/libfws/spring/data/mongo/articles.txt new file mode 100644 index 000000000..4bbefe69f --- /dev/null +++ b/pl/java/libfws/spring/data/mongo/articles.txt @@ -0,0 +1,20 @@ +list +https://www.baeldung.com/spring-data-mongodb-guide +2023 +https://www.baeldung.com/java-mongodb +https://www.baeldung.com/spring-data-mongodb-tutorial + https://github.com/eugenp/tutorials/tree/master/persistence-modules/spring-data-mongodb + https://github.com/eugenp/tutorials/tree/master/persistence-modules/spring-data-mongodb/src/live-test/resources + https://github.com/eugenp/tutorials/blob/master/persistence-modules/spring-data-mongodb/src/live-test/resources/Dockerfile + https://github.com/eugenp/tutorials/blob/master/persistence-modules/spring-data-mongodb/src/live-test/resources/init-session.js +2022 +https://medium.com/geekculture/types-of-update-operations-in-mongodb-using-spring-boot-11d5d4ce88cf + https://nuancesprog.ru/p/16479/ + https://github.com/dhavalsimaria/mongo-operations +2021 +https://spring.io/blog/2021/11/29/spring-data-mongodb-relation-modelling + https://www.mongodb.com/docs/manual/core/data-modeling-introduction/ +2018 +https://www.javacodegeeks.com/2018/03/spring-data-mongodb-tutorial.html + https://habr.com/ru/companies/otus/articles/430520/ + ! so-so diff --git a/pl/java/libfws/spring/data/mongo/bson.txt b/pl/java/libfws/spring/data/mongo/bson.txt new file mode 100644 index 000000000..a62d1f34b --- /dev/null +++ b/pl/java/libfws/spring/data/mongo/bson.txt @@ -0,0 +1,3 @@ +2023 +https://www.baeldung.com/mongodb-bson +https://www.baeldung.com/java-mongodb-add-field-bson-filter diff --git a/pl/java/libfws/spring/data/mongo/cfg.txt b/pl/java/libfws/spring/data/mongo/cfg.txt new file mode 100644 index 000000000..d58bc1e2d --- /dev/null +++ b/pl/java/libfws/spring/data/mongo/cfg.txt @@ -0,0 +1,2 @@ +2022 +https://www.baeldung.com/spring-data-disable-auto-config diff --git a/pl/java/libfws/spring/data/mongo/converter.txt b/pl/java/libfws/spring/data/mongo/converter.txt new file mode 100644 index 000000000..9fd8d0657 --- /dev/null +++ b/pl/java/libfws/spring/data/mongo/converter.txt @@ -0,0 +1,4 @@ +https://github.com/eugenp/tutorials/blob/master/persistence-modules/spring-data-mongodb/src/main/java/com/baeldung/converter/UserWriterConverter.java + +2023 +https://www.baeldung.com/spring-data-mongodb-index-annotations-converter diff --git a/pl/java/libfws/spring/data/mongo/cursor.txt b/pl/java/libfws/spring/data/mongo/cursor.txt new file mode 100644 index 000000000..3781a5d5c --- /dev/null +++ b/pl/java/libfws/spring/data/mongo/cursor.txt @@ -0,0 +1,2 @@ +2023 +https://www.baeldung.com/spring-data-mongodb-tailable-cursors diff --git a/pl/java/libfws/spring/data/mongo/datetime.txt b/pl/java/libfws/spring/data/mongo/datetime.txt new file mode 100644 index 000000000..7888a52b1 --- /dev/null +++ b/pl/java/libfws/spring/data/mongo/datetime.txt @@ -0,0 +1,4 @@ +2023 +https://www.baeldung.com/spring-data-mongodb-zoneddatetime +2022 +https://www.baeldung.com/mongodb-java-date-operations diff --git a/pl/java/libfws/spring/data/mongo/driver.txt b/pl/java/libfws/spring/data/mongo/driver.txt new file mode 100644 index 000000000..f65641195 --- /dev/null +++ b/pl/java/libfws/spring/data/mongo/driver.txt @@ -0,0 +1,7 @@ +https://mvnrepository.com/artifact/org.mongodb/mongodb-driver-sync + +2023 +https://www.baeldung.com/spring-data-mongodb-connection +https://www.baeldung.com/java-check-collection-existence-mongodb +2022 +https://www.baeldung.com/mongodb-check-connection diff --git a/pl/java/libfws/spring/data/mongo/embedded.txt b/pl/java/libfws/spring/data/mongo/embedded.txt new file mode 100644 index 000000000..dceca92a4 --- /dev/null +++ b/pl/java/libfws/spring/data/mongo/embedded.txt @@ -0,0 +1,7 @@ +2023 +https://www.baeldung.com/spring-boot-embedded-mongodb +2022 +https://www.baeldung.com/spring-boot-mongodb-logging + +sample +https://github.com/eugenp/tutorials/blob/master/persistence-modules/spring-data-mongodb/pom.xml#L76C1-L79C54 diff --git a/pl/java/libfws/spring/data/mongo/filter.txt b/pl/java/libfws/spring/data/mongo/filter.txt new file mode 100644 index 000000000..77fe28ef1 --- /dev/null +++ b/pl/java/libfws/spring/data/mongo/filter.txt @@ -0,0 +1,2 @@ +2022 +https://www.baeldung.com/java-mongodb-filters diff --git a/pl/java/libfws/spring/data/mongo/id.txt b/pl/java/libfws/spring/data/mongo/id.txt new file mode 100644 index 000000000..f0a4c999e --- /dev/null +++ b/pl/java/libfws/spring/data/mongo/id.txt @@ -0,0 +1,6 @@ +2023 +https://www.baeldung.com/uuid-vs-sequential-id-as-primary-key +2022 +https://www.baeldung.com/spring-data-mongodb-composite-key +https://www.baeldung.com/java-mongodb-uuid +https://www.baeldung.com/mongo-generate-unique-objectid diff --git a/pl/java/libfws/spring/data/mongo/index.txt b/pl/java/libfws/spring/data/mongo/index.txt new file mode 100644 index 000000000..5db797373 --- /dev/null +++ b/pl/java/libfws/spring/data/mongo/index.txt @@ -0,0 +1,3 @@ +2022 +https://www.baeldung.com/spring-data-mongodb-unique + @Index, @CompoundIndex diff --git a/pl/java/libfws/spring/data/mongo/lifecycle-events.txt b/pl/java/libfws/spring/data/mongo/lifecycle-events.txt new file mode 100644 index 000000000..afdd24707 --- /dev/null +++ b/pl/java/libfws/spring/data/mongo/lifecycle-events.txt @@ -0,0 +1,2 @@ +2021 +https://www.baeldung.com/cascading-with-dbref-and-lifecycle-events-in-spring-data-mongodb diff --git a/pl/java/libfws/spring/data/mongo/logging.txt b/pl/java/libfws/spring/data/mongo/logging.txt new file mode 100644 index 000000000..0ea5821e6 --- /dev/null +++ b/pl/java/libfws/spring/data/mongo/logging.txt @@ -0,0 +1,2 @@ +2022 +https://www.baeldung.com/spring-boot-mongodb-logging diff --git a/pl/java/libfws/spring/data/mongo/misc.txt b/pl/java/libfws/spring/data/mongo/misc.txt new file mode 100644 index 000000000..dd7909680 --- /dev/null +++ b/pl/java/libfws/spring/data/mongo/misc.txt @@ -0,0 +1,8 @@ +https://www.baeldung.com/tag/mongodb + +2023 +https://www.baeldung.com/mongodb-multiple-databases-spring-data +2022 +https://www.baeldung.com/spring-session-mongodb +2021 +https://www.baeldung.com/mongodb-tagging diff --git a/pl/java/libfws/spring/data/mongo/mongo-template.txt b/pl/java/libfws/spring/data/mongo/mongo-template.txt new file mode 100644 index 000000000..f821a50e4 --- /dev/null +++ b/pl/java/libfws/spring/data/mongo/mongo-template.txt @@ -0,0 +1,5 @@ +MongoTemplate +https://www.baeldung.com/spring-data-mongodb-tutorial + +https://docs.spring.io/spring-data/mongodb/docs/current/api/org/springframework/data/mongodb/core/MongoTemplate.html +https://docs.spring.io/spring-data/mongodb/docs/current/api/org/springframework/data/mongodb/core/MongoOperations.html diff --git a/pl/java/libfws/spring/data/mongo/mongo.txt b/pl/java/libfws/spring/data/mongo/mongo.txt new file mode 100644 index 000000000..195e6e5b5 --- /dev/null +++ b/pl/java/libfws/spring/data/mongo/mongo.txt @@ -0,0 +1,21 @@ +https://docs.spring.io/spring-data/mongodb/docs/current/reference/html/ + +q +https://docs.spring.io/spring-data/mongodb/docs/current/reference/html/#appendix.query.method.subject + +https://www.mongodb.com/compatibility/spring-boot + +https://www.mongodb.com/docs/manual/indexes/ +https://www.mongodb.com/docs/manual/applications/indexes/ + https://www.mongodb.com/docs/manual/tutorial/equality-sort-range-rule/ + https://www.mongodb.com/docs/manual/core/index-compound/ + https://www.mongodb.com/docs/manual/core/index-unique/ +https://www.mongodb.com/docs/manual/reference/explain-results/ +https://www.mongodb.com/docs/manual/reference/command/explain/ + +transactions +https://www.baeldung.com/spring-data-mongodb-transactions + Note that MongoDB currently supports transactions over a replica set. + +cascade-save-by-events +https://www.baeldung.com/cascading-with-dbref-and-lifecycle-events-in-spring-data-mongodb diff --git a/pl/java/libfws/spring/data/mongo/query.txt b/pl/java/libfws/spring/data/mongo/query.txt new file mode 100644 index 000000000..9e1751481 --- /dev/null +++ b/pl/java/libfws/spring/data/mongo/query.txt @@ -0,0 +1,14 @@ +2023 +https://www.baeldung.com/queries-in-spring-data-mongodb +2022 +https://www.baeldung.com/mongodb-return-specific-fields +https://www.baeldung.com/mongodb-query-documents-id +https://www.baeldung.com/mongodb-find +https://www.baeldung.com/spring-data-mongodb-count + count +https://www.baeldung.com/mongodb-check-field-exists + +sample +https://github.com/eugenp/tutorials/blob/master/persistence-modules/spring-data-mongodb/src/main/java/com/baeldung/repository/UserRepository.java + regexp, like + QuerydslPredicateExecutor diff --git a/pl/java/libfws/spring/data/data.txt b/pl/java/libfws/spring/data/mongo/querydsl.txt similarity index 55% rename from pl/java/libfws/spring/data/data.txt rename to pl/java/libfws/spring/data/mongo/querydsl.txt index 6d0e04ef3..8408baab2 100644 --- a/pl/java/libfws/spring/data/data.txt +++ b/pl/java/libfws/spring/data/mongo/querydsl.txt @@ -1,10 +1,7 @@ -http://docs.spring.io/spring-data/jdbc/docs/current/reference/html/ -http://docs.spring.io/spring-data/jdbc/docs/current/reference/htmlsingle/ - -QueryDSL: http://docs.spring.io/spring-data/jdbc/docs/current/reference/html/core.querydsl.html https://github.com/querydsl/querydsl/tree/master/querydsl-sql-spring https://github.com/querydsl/querydsl/tree/master/querydsl-examples/querydsl-example-sql-spring +https://github.com/eugenp/tutorials/blob/master/persistence-modules/spring-data-mongodb/pom.xml -2019 -https://habr.com/ru/company/otus/blog/437410/ +2023 +https://www.baeldung.com/querydsl-with-jpa-tutorial diff --git a/pl/java/libfws/spring/data/mongo/reactive.txt b/pl/java/libfws/spring/data/mongo/reactive.txt new file mode 100644 index 000000000..bc76dcf4a --- /dev/null +++ b/pl/java/libfws/spring/data/mongo/reactive.txt @@ -0,0 +1,2 @@ +2021 +https://www.baeldung.com/spring-data-mongodb-reactive diff --git a/pl/java/libfws/spring/data/mongo/sort.txt b/pl/java/libfws/spring/data/mongo/sort.txt new file mode 100644 index 000000000..84905ea57 --- /dev/null +++ b/pl/java/libfws/spring/data/mongo/sort.txt @@ -0,0 +1,2 @@ +2022 +https://www.baeldung.com/java-mongodb-case-insensitive-sorting diff --git a/pl/java/libfws/spring/data/mongo/test.txt b/pl/java/libfws/spring/data/mongo/test.txt new file mode 100644 index 000000000..ad01934ba --- /dev/null +++ b/pl/java/libfws/spring/data/mongo/test.txt @@ -0,0 +1 @@ +https://www.baeldung.com/spring-boot-embedded-mongodb diff --git a/pl/java/libfws/spring/data/mongo/transactions.txt b/pl/java/libfws/spring/data/mongo/transactions.txt new file mode 100644 index 000000000..afdec1f54 --- /dev/null +++ b/pl/java/libfws/spring/data/mongo/transactions.txt @@ -0,0 +1,2 @@ +2023 +https://www.baeldung.com/spring-data-mongodb-transactions diff --git a/pl/java/libfws/spring/data/mongo/updating.txt b/pl/java/libfws/spring/data/mongo/updating.txt new file mode 100644 index 000000000..9e282553d --- /dev/null +++ b/pl/java/libfws/spring/data/mongo/updating.txt @@ -0,0 +1,6 @@ +2022 +https://www.baeldung.com/mongodb-upsert +https://www.baeldung.com/java-mongodb-insert-hashmap +https://www.baeldung.com/mongodb-update-multiple-fields +https://www.baeldung.com/mongodb-push-operations +https://www.baeldung.com/java-mongodb-push-set diff --git a/pl/java/libfws/spring/utils/utils.txt b/pl/java/libfws/spring/utils/utils.txt new file mode 100644 index 000000000..66e623713 --- /dev/null +++ b/pl/java/libfws/spring/utils/utils.txt @@ -0,0 +1,4 @@ +ReflectionUtils + makeAccessible +ParsingUtils + splitCamelCaseToLower diff --git a/pl/java/tools/quality/testing/mock/mockito/mockito.txt b/pl/java/tools/quality/testing/mock/mockito/mockito.txt index 9f356ea60..6bd0d6d4d 100644 --- a/pl/java/tools/quality/testing/mock/mockito/mockito.txt +++ b/pl/java/tools/quality/testing/mock/mockito/mockito.txt @@ -1,4 +1,7 @@ http://site.mockito.org/ +https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/Mockito.html +https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/InjectMocks.html + https://github.com/mockito/mockito https://github.com/mockito/mockito/wiki diff --git a/queries.txt b/queries.txt new file mode 100644 index 000000000..188b92e3b --- /dev/null +++ b/queries.txt @@ -0,0 +1 @@ +https://www.baeldung.com/queries-in-spring-data-mongodb