Cafe Bahia

While learning Liquibase to use it in managing the database’s evolution at work, I’ve found an existing bug (it is CORE-3040 – onlyUpdate=”true” flag generates empty statements for MySQL DB) and I fixed it: now I’m waiting for the Pull Request to be accepted!



This article describe a situation that could lead to unexpected Spring’s behaviour, in terms of instantiated beans, caused by multiple dependent context files.
I do not like this approach, but I have to cope with it and mostly fix the problems (analyzing the Spring’s initialization logs). (altro…)

I’ve recently discovered an interesting java project, Lombok, that gives your IDE the ability to automatically create trivial methods (setters and getters, hashCode, equals, toString, and basic constructors) and other stuff.
All you need to do is watch the 3-minutes video at Project Lombok web site, download the little jar, click 2 buttons to install it, and then start annotating with Lombok.

These are my thoughts after having read the first two articles about Design Patterns and Java 8 on Voxxed, because I need to reflect about the shadows of the new approach. (altro…)

This is a brief note about ${…} placeholder resolution in Spring.
Tested with Spring 4.0 ~ 4.2. (altro…)

I’m playing with technologies and framework for a new project: because I’m learning things probably useful for others, I’m gonna write here few notes about what I’ve learned. This is the sixth article of a series: we need a way to access the MyBatis session (to flush the statement cache) in mappers/DAOs. (altro…)

Pagina successiva »