For the project that I am working on (Spring / struts 2 / hibernate), we decided to use h2 for unit testing with MySQL for the production store and manage the circuit in Liquibase, a fairly standard tariff, but the problem continues to work, so this is what h2 and MySQL differs in many ways, for example, how they handle timestamps and triggers. This goes so far as to make me regret the use of h2 as extra headaches that cause incorrect matches, begin to outweigh its benefits. My question is, is there any other internal file database that behaves like MySQL? Obviously, we will use MySQL for integration testing anyway, but to be able to perform unit testing without even making Liquibase files a giant hack or without ensuring the local MySQL db is running would be nice.
source share