Andrunevchyn

Recent Posts


Recent Comments


Archives


Categories


Meta


issue

@SpringBootTest

Sometimes I hate springboot for different kind of hidden things. You just copy sample with dozens different annotations and then it doesn’t work and you have no any idea  what is wrong ’cause you don’t see any logs about that So shortly – if you try to configure test suite for SpringBoot pay attention you  [...]

Andriy AndrunevchynAndriy Andrunevchyn

Maven and StackOverflowError

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project paidle-rm: Fatal error compiling: java.lang.StackOverflowError -> [Help 1] If you try compiling your project with maven and got java.lang.StackOverflowError  check if  you don’t use some extremely long [...]

Andriy AndrunevchynAndriy Andrunevchyn

Logback rollover issue

If your rollover config doesn’t work due to unknown reason – read this answer. I didn’t find  why logback cannot rename log , no process locked log file. The easiest way to fix issue just  remove mentioned parameter File  <appender name="RF" class="ch.qos.logback.core.rolling.RollingFileAppender"> <param [...]

Andriy AndrunevchynAndriy Andrunevchyn

Spring Boot та JPA – table name issue

  Вирішив поколупатись із Spring Boot і Spring Data Jpa і знайшов цікаву штуку. По дефолту у спрінга стоїть якийсь супероптимальний неймінг spring.jpa.hibernate.naming_strategy: org.hibernate.cfg.ImprovedNamingStrategy який використовує SNAKE_CASE і цей неймінг такий “ядучий” що навіть, якщо ви вказуєте явно camelCase назву для [...]

Andriy AndrunevchynAndriy Andrunevchyn