Обновить
0
0
Maksim Urusov @urusoff

vk.com/notes_about_java

Отправить сообщение

Spring Data JPA entity enum converter

Время на прочтение4 мин
Количество просмотров7.4K

Faced with situation when had to map STRING VALUE coming from database TO ENUM. The problem happens when value stored in database differs from enum name. And here we need a workaround to make a mapping. I will describe main points on how I was able to realise it.

Entity field converter?

Agile vs Waterfall by eyes of developer

Время на прочтение3 мин
Количество просмотров1.5K

I have been working in Agile since 2017 in several projects.
And I would like to note here a couple of moments from real experience through the eyes of developer role in project.
Hope it will be helpful for you!

Why waterfall?

Spring Reactor Mono::block deadlock

Время на прочтение3 мин
Количество просмотров2.5K

Faced with the situation when calling Mono::block leads to deadlock - in debug I can just see how it stands on Unsafe::park and no more movement at all.

Mono::block deadlock?

Apply «capital letters jam» for generic type parameters

Время на прочтение2 мин
Количество просмотров948

There are such types in Java - called "Generics".
And the point here is that there is a convention for naming generic type parameters WITH ONE CAPITAL LETTER.

But we have found much more readable approach!

Capital letters jam technique?

Stand on two legs with code review

Время на прочтение5 мин
Количество просмотров2.5K

The problem

Unfortunately, when fulfilling their planned business goals, the departments of the organisation rarely take into account such a metric as solution code quality. And usually developers has no time for normal code review process.

Code review process experience?

Run ForkJoinTask via custom ForkJoinPool in CompletableFuture sauce

Время на прочтение4 мин
Количество просмотров2K

In one of the tasks on the project, I had to wrap the ForkJoinTask collection in CompletableFuture for asynchronous execution and building data processing pipeline chains.

Async ForkJoinTask?

Информация

В рейтинге
Не участвует
Работает в
Зарегистрирован
Активность

Специализация

Backend Developer, Software Architect
От 200 000 ₽
Git
Java
Java Spring Framework
Hibernate
Apache Maven
Intellij IDEA
Junit
SQL
English
Research work