Author Archives: Stanislav_Panteleev

Junit. Jupiter

test order example https://github.com/junit-team/junit4/wiki/aggregating-tests-in-suites

Posted in Без рубрики | Comments Off on Junit. Jupiter

Java. SpringBoot Example how to work with dateTime in Specification

Working example just with date or like that

Posted in Без рубрики | Comments Off on Java. SpringBoot Example how to work with dateTime in Specification

Java.SpringBoot.PopularAnnotations

@BeanAnnotations @EnableAsync / @Async ; do smth in new thread @EnableSheduling / @Scheduled @Lock ; lock record on database level @Mdifying ; to learn @Scheduled @Query

Posted in Без рубрики | Comments Off on Java.SpringBoot.PopularAnnotations

SpringBoot. Exception Management

in rus https://struchkov.dev/blog/ru/exception-handling-controlleradvice/ validation handling https://struchkov.dev/blog/ru/spring-boot-validation/

Posted in Без рубрики | Comments Off on SpringBoot. Exception Management

Java.Hibernate.JoinTableAnnotation

https://stackoverflow.com/questions/5478328/in-which-case-do-you-use-the-jpa-jointable-annotation

Posted in Без рубрики | Comments Off on Java.Hibernate.JoinTableAnnotation

SpringBoot.Making our first starter and autoconfiguration

STARTER let’s create some new module and infra package in it MAIN APP in main app we can call and use this bean like this

Posted in Без рубрики | Comments Off on SpringBoot.Making our first starter and autoconfiguration

Spring. Creating main annotation to start business logic

a couple of classes with business logic

Posted in Без рубрики | Comments Off on Spring. Creating main annotation to start business logic

Spring.Reading from properties file

Any beanFactoryPostProcessor should be declared in @Configuration file with static, because configuration is being initialized in very begining. Nothing needed, props a read from application.properties / application.yml file, but if you want to custmomize the file you can add annotation … Continue reading

Posted in Без рубрики | Comments Off on Spring.Reading from properties file

Spring.How to define spring version inside springBoot ?

another way

Posted in Без рубрики | Comments Off on Spring.How to define spring version inside springBoot ?

SpringBoot App inside Docker

Commands // rebuild some service in docker compose // start all containers in docker compose // down all containers Files Dockerfile docker-compose.yml

Posted in Без рубрики | Comments Off on SpringBoot App inside Docker