Unknown data type when using an integer over NamedParameterJDBCTemplate on H2 [SPRING-BOOT]

I’m testing a Dao with an In-Memory DB with H2. I’m passing an int to the query with a map to execute it. This query is working OK on Oracle SQL, but is not succeding in H2. DAO @Override public …

How to re-create database before each test in Spring?

My Spring-Boot-Mvc-Web application has the following database configuration in application.properties file: spring.datasource.url=jdbc:h2:tcp://localhost/~/pdk spring.datasource.username=sa spring….

IntelliJ @IfProfileValue default value

In most projects that use Spring extensively there are a few tests that use @IfProfileValue to mark it as integration test, performance test or similar. When you run these with maven you do something …